[PATCH] mm/shmem.c: make array 'values' static const, makes object smaller

2019-09-06 Thread Colin King
From: Colin Ian King Don't populate the array 'values' on the stack but instead make it static const. Makes the object code smaller by 111 bytes. Before: textdata bss dec hex filename 108612 11169 512 120293 1d5e5 mm/shmem.o After: textdata bss dec

Re: [PATCH 1/4] softirq: implement IRQ flood detection mechanism

2019-09-06 Thread Keith Busch
On Fri, Sep 06, 2019 at 09:48:21AM +0800, Ming Lei wrote: > When one IRQ flood happens on one CPU: > > 1) softirq handling on this CPU can't make progress > > 2) kernel thread bound to this CPU can't make progress > > For example, network may require softirq to xmit packets, or another irq > thr

Re: [PATCH v3 net-next] net: stmmac: Add support for MDIO interrupts

2019-09-06 Thread Andrew Lunn
On Fri, Sep 06, 2019 at 01:31:14PM +, Jose Abreu wrote: > From: Voon Weifeng > Date: Sep/05/2019, 13:05:30 (UTC+00:00) > > > DW EQoS v5.xx controllers added capability for interrupt generation > > when MDIO interface is done (GMII Busy bit is cleared). > > This patch adds support for this int

Re: [PATCH v4 4/4] KVM: X86: Tune PLE Window tracepoint

2019-09-06 Thread Sean Christopherson
On Fri, Sep 06, 2019 at 10:17:22AM +0800, Peter Xu wrote: > The PLE window tracepoint triggers even if the window is not changed, > and the wording can be a bit confusing too. One example line: > > kvm_ple_window: vcpu 0: ple_window 4096 (shrink 4096) > > It easily let people think of "the win

Re: [RFC PATCH v4 0/9] printk: new ringbuffer implementation

2019-09-06 Thread Peter Zijlstra
On Fri, Sep 06, 2019 at 04:01:26PM +0200, Peter Zijlstra wrote: > On Fri, Sep 06, 2019 at 02:42:11PM +0200, Petr Mladek wrote: > > 7. People would complain when continuous lines become less > >reliable. It might be most visible when mixing backtraces > >from all CPUs. Simple sorting by pref

Re: [PATCH ARM64] selftests, arm64: add kernel headers path for tags_test

2019-09-06 Thread Cristian Marussi
On 06/09/2019 14:55, Andrey Konovalov wrote: > On Fri, Sep 6, 2019 at 3:51 PM Will Deacon wrote: >> >> On Wed, Sep 04, 2019 at 06:41:00PM +0200, Andrey Konovalov wrote: >>> tags_test.c relies on PR_SET_TAGGED_ADDR_CTRL/PR_TAGGED_ADDR_ENABLE being >>> present in system headers. When this is not the

Re: [PATCH v4 3/4] KVM: VMX: Change ple_window type to unsigned int

2019-09-06 Thread Sean Christopherson
On Fri, Sep 06, 2019 at 10:17:21AM +0800, Peter Xu wrote: > The VMX ple_window is 32 bits wide, so logically it can overflow with > an int. The module parameter is declared as unsigned int which is > good, however the dynamic variable is not. Switching all the > ple_window references to use unsig

Re: [alsa-devel] [PATCH] ASoC: bdw-rt5677: channel constraint support

2019-09-06 Thread Pierre-Louis Bossart
On 9/5/19 8:24 PM, Brent Lu wrote: BDW boards using this machine driver supports only stereo capture and playback. Implement a constraint to enforce it. Humm, can you clarify what problem/error this patch fixes? There are already constraints on the hsw_dais[] where the channels are stereo onl

[RFC 1/3] dt-bindings: dma: Add documentation for DMA domains

2019-09-06 Thread Peter Ujfalusi
On systems where multiple DMA controllers available, none Slave (for example memcpy operation) users can not be described in DT as there is no device involved from the DMA controller's point of view, DMA binding is not usable. However in these systems still a peripheral might need to be serviced by

Re: [PATCH 08/18] virtiofs: Drain all pending requests during ->remove time

2019-09-06 Thread Michael S. Tsirkin
On Fri, Sep 06, 2019 at 10:17:05AM -0400, Vivek Goyal wrote: > On Fri, Sep 06, 2019 at 11:52:10AM +0100, Stefan Hajnoczi wrote: > > On Thu, Sep 05, 2019 at 03:48:49PM -0400, Vivek Goyal wrote: > > > +static void virtio_fs_drain_queue(struct virtio_fs_vq *fsvq) > > > +{ > > > + WARN_ON(fsvq->in_flig

[RFC 0/3] dmaengine: Support for DMA domain controllers

2019-09-06 Thread Peter Ujfalusi
Hi, More and more SoC have more than one DMA controller integrated. If a device needs none slave DMA channel for operation (block copy from/to memory mapped regions for example) at the moment when they request a channel it is going to be taken from the first DMA controller which was registered, b

Re: [PATCH v6 1/4] ftrace: Implement fs notification for tracing_max_latency

2019-09-06 Thread Joel Fernandes
On Thu, Sep 05, 2019 at 03:25:45PM +0200, Viktor Rosendahl wrote: > This patch implements the feature that the tracing_max_latency file, > e.g. /sys/kernel/debug/tracing/tracing_max_latency will receive > notifications through the fsnotify framework when a new latency is > available. > > One parti

Re: [PATCH 00/18] virtiofs: Fix various races and cleanups round 1

2019-09-06 Thread Michael S. Tsirkin
On Fri, Sep 06, 2019 at 04:11:45PM +0200, Miklos Szeredi wrote: > This is not a drop in replacement for blk and scsi transports. More > for virtio-9p. Does that have anything similar? 9p seems to supports unplug, yes. It's not great in that it blocks until we close the channel, but it's there an

[PATCH -next] RDMA/hns: use devm_platform_ioremap_resource() to simplify code

2019-09-06 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Signed-off-by: YueHaibing --- drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/infiniband/hw/hns/hns_roce_hw_v1.c b/drivers/i

[RFC 2/3] dmaengine: of_dma: Function to look up the DMA domain of a client

2019-09-06 Thread Peter Ujfalusi
Find the DMA domain controller of the client device by iterating up in device tree looking for the closest 'dma-domain-controller' property. If the client's node is not provided then check the DT root for the controller. Signed-off-by: Peter Ujfalusi --- drivers/dma/of-dma.c | 42

Re: [v4 2/2] drm/arm/mali-dp: Add display QoS interface configuration for Mali DP500

2019-09-06 Thread Liviu Dudau
Hi Wen, On Thu, Aug 22, 2019 at 10:11:35AM +0800, Wen He wrote: > Configure the display Quality of service (QoS) levels priority if the > optional property node "arm,malidp-aqros-value" is defined in DTS file. > > QoS signaling using AQROS and AWQOS AXI interface signals, the AQROS is > driven fr

[RFC 3/3] dmaengine: Support for requesting channels preferring DMA domain controller

2019-09-06 Thread Peter Ujfalusi
In case the channel is not requested via the slave API, use the of_find_dma_domain() to see if a system default DMA controller is specified. Add new function which can be used by clients to request channels by mask from their DMA domain controller if specified. Client drivers can take advantage o

Re: [PATCH 08/18] virtiofs: Drain all pending requests during ->remove time

2019-09-06 Thread Vivek Goyal
On Fri, Sep 06, 2019 at 11:52:10AM +0100, Stefan Hajnoczi wrote: > On Thu, Sep 05, 2019 at 03:48:49PM -0400, Vivek Goyal wrote: > > +static void virtio_fs_drain_queue(struct virtio_fs_vq *fsvq) > > +{ > > + WARN_ON(fsvq->in_flight < 0); > > + > > + /* Wait for in flight requests to finish.*/ >

[RFC 3/3] dmaengine: Support for requesting channels preferring DMA domain controller

2019-09-06 Thread Peter Ujfalusi
In case the channel is not requested via the slave API, use the of_find_dma_domain() to see if a system default DMA controller is specified. Add new function which can be used by clients to request channels by mask from their DMA domain controller if specified. Client drivers can take advantage o

[RFC 2/3] dmaengine: of_dma: Function to look up the DMA domain of a client

2019-09-06 Thread Peter Ujfalusi
Find the DMA domain controller of the client device by iterating up in device tree looking for the closest 'dma-domain-controller' property. If the client's node is not provided then check the DT root for the controller. Signed-off-by: Peter Ujfalusi --- drivers/dma/of-dma.c | 42

[RFC 0/3] dmaengine: Support for DMA domain controllers

2019-09-06 Thread Peter Ujfalusi
Hi, More and more SoC have more than one DMA controller integrated. If a device needs none slave DMA channel for operation (block copy from/to memory mapped regions for example) at the moment when they request a channel it is going to be taken from the first DMA controller which was registered, b

[RFC 1/3] dt-bindings: dma: Add documentation for DMA domains

2019-09-06 Thread Peter Ujfalusi
On systems where multiple DMA controllers available, none Slave (for example memcpy operation) users can not be described in DT as there is no device involved from the DMA controller's point of view, DMA binding is not usable. However in these systems still a peripheral might need to be serviced by

Re: [RFC PATCH 1/9] sched,cgroup: Add interface for latency-nice

2019-09-06 Thread Valentin Schneider
On 06/09/2019 13:45, Parth Shah wrote:> > I guess there is some usecase in case of thermal throttling. > If a task is heating up the core then in ideal scenarios POWER systems > throttle > down to rated frequency. > In such case, if the task is latency sensitive (min latency nice), we can > move

Re: [PATCH 1/1] KVM: inject data abort if instruction cannot be decoded

2019-09-06 Thread Alexander Graf
On 06.09.19 15:50, Peter Maydell wrote: On Fri, 6 Sep 2019 at 14:41, Alexander Graf wrote: On 06.09.19 15:31, Peter Maydell wrote: (b) we try to reuse the code we already have that does TCG exception injection, which might or might not be a design mistake, and That's probably a design mist

Re: [PATCH] Bluetooth: hidp: Fix error checks in hidp_get/set_raw_report

2019-09-06 Thread Marcel Holtmann
Hi Dan, >>> Commit 48d9cc9d85dd ("Bluetooth: hidp: Let hidp_send_message return >>> number of queued bytes") changed hidp_send_message to return non-zero >>> values on success, which some other bits did not expect. This caused >>> spurious errors to be propagated through the stack, breaking some (

Re: [PATCH] hostap: remove set but not used variable 'copied' in prism2_io_debug_proc_read

2019-09-06 Thread Kalle Valo
zhong jiang wrote: > Obviously, variable 'copied' is initialized to zero. But it is not used. > hence just remove it. > > Signed-off-by: zhong jiang Patch applied to wireless-drivers-next.git, thanks. 64827a6ac049 hostap: remove set but not used variable 'copied' in prism2_io_debug_proc_read

Re: [PATCH 1/1] PCI: iproc: Invalidate PAXB address mapping before programming it

2019-09-06 Thread Abhishek Shah
Hi Andrew, On Fri, Sep 6, 2019 at 3:31 PM Andrew Murray wrote: > > On Fri, Sep 06, 2019 at 02:55:19PM +0530, Abhishek Shah wrote: > > Hi Andrew, > > > > Thanks for the review. Please see my response inline: > > > > On Fri, Sep 6, 2019 at 2:08 PM Andrew Murray wrote: > > > > > > On Fri, Sep 06,

Re: [PATCH 00/18] virtiofs: Fix various races and cleanups round 1

2019-09-06 Thread Miklos Szeredi
On Fri, Sep 6, 2019 at 3:57 PM Michael S. Tsirkin wrote: > > On Fri, Sep 06, 2019 at 08:08:17AM -0400, Vivek Goyal wrote: > > On Fri, Sep 06, 2019 at 01:52:41PM +0200, Miklos Szeredi wrote: > > > On Fri, Sep 6, 2019 at 12:36 PM Stefan Hajnoczi > > > wrote: > > > > > > > > On Fri, Sep 06, 2019 at

hope

2019-09-06 Thread alfasasi kelani
Good day , i write to inform you as auditor onbehalf of ORABANK. Transaction number 000399577OBK have been approved for release through VISA ELECTRON ATM Card. Note that you are required to reconfirm your complete mailing address for delivery. Reconfirm code 000399577OBK to the Director Mr. Patr

Re: [PATCH] Bluetooth: hidp: Fix error checks in hidp_get/set_raw_report

2019-09-06 Thread Dan Carpenter
On Fri, Sep 06, 2019 at 03:56:29PM +0200, Marcel Holtmann wrote: > Hi Dan, > > > Commit 48d9cc9d85dd ("Bluetooth: hidp: Let hidp_send_message return > > number of queued bytes") changed hidp_send_message to return non-zero > > values on success, which some other bits did not expect. This caused >

Re: [PATCH] virtio: add VIRTIO_RING_NO_LEGACY

2019-09-06 Thread Michael S. Tsirkin
On Fri, Sep 06, 2019 at 12:42:14PM +, Matej Genci wrote: > Add macro to disable legacy functions vring_init and vring_size. > > Signed-off-by: Matej Genci > --- > include/uapi/linux/virtio_ring.h | 4 > 1 file changed, 4 insertions(+) > > diff --git a/include/uapi/linux/virtio_ring.h

Re: [Xen-devel] [PATCH 09/11] swiotlb-xen: simplify cache maintainance

2019-09-06 Thread Andrew Cooper
On 06/09/2019 15:01, Christoph Hellwig wrote: > On Fri, Sep 06, 2019 at 09:52:12AM -0400, Boris Ostrovsky wrote: >> We need nop definitions of these two for x86. >> >> Everything builds now but that's probably because the calls are under >> 'if (!dev_is_dma_coherent(dev))' which is always false so

[PATCH v3 3/3] arm64: dts: meson-g12b-ugoos-am6: add initial device-tree

2019-09-06 Thread Christian Hewitt
The Ugoos AM6 is based on the Amlogic W400 (G12B) reference design using the S922X chipset. Hardware specifications: - 2GB LPDDR4 RAM - 16GB eMMC storage - 10/100/1000 Base-T Ethernet using External RGMII PHY - 802.11 a/b/g/b/ac + BT 5.0 sdio wireless (Ampak 6398S) - HDMI 2.0 (4k@60p) video - Comp

[PATCH v3 1/3] dt-bindings: Add vendor prefix for Ugoos

2019-09-06 Thread Christian Hewitt
Ugoos Industrial Co., Ltd. are a manufacturer of ARM based TV Boxes/Dongles, Digital Signage and Advertisement Solutions [0]. [0] (https://ugoos.com) Acked-by: Rob Herring Signed-off-by: Christian Hewitt --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 inser

[PATCH v3 1/3] dt-bindings: Add vendor prefix for Ugoos

2019-09-06 Thread Christian Hewitt
>From c9402f747c02605fd8bf7e6495271edf855476c7 Mon Sep 17 00:00:00 2001 From: Christian Hewitt Date: Fri, 6 Sep 2019 05:38:48 +0400 Subject: [PATCH v3 2/3] dt-bindings: arm: amlogic: Add support for the Ugoos AM6 The Ugoos AM6 is based on the Amlogic W400 (G12B) reference design using the S922X c

[PATCH v3 0/3] arm64: meson-g12b: Add support for the Ugoos AM6

2019-09-06 Thread Christian Hewitt
This patchset adds support for the Ugoos AM6, an Android STB based on the Amlogic W400 reference design with the S922X chipset. v2: correction of minor nits v3: address regulator and GPIO corrections from Neil Armstrong (using schematic excerpts from Ugoos) and related v2 comments from Martin Blu

Re: [PATCH] Bluetooth: hidp: Fix error checks in hidp_get/set_raw_report

2019-09-06 Thread Dan Elkouby
On Fri, Sep 6, 2019 at 4:56 PM Marcel Holtmann wrote: > patch has been applied to bluetooth-next tree. > Thanks a lot!

Re: [PATCH] 9p: make two arrays static const, makes object smaller

2019-09-06 Thread Dominique Martinet
Colin King wrote on Fri, Sep 06, 2019: > From: Colin Ian King > > Don't populate the arrays on the stack but instead make them > static const. Makes the object code smaller by 386 bytes. > > Before: >text data bss dec hex filename > 17443 2076 0 19519

Re: [RFC PATCH v4 0/9] printk: new ringbuffer implementation

2019-09-06 Thread Peter Zijlstra
On Fri, Sep 06, 2019 at 02:42:11PM +0200, Petr Mladek wrote: > I wish it was that simple. It is possible that I see it too > complicated. But this comes to my mind: > > 1. The simple printk_buffer_store(buf, n) is not NMI safe. For this, >we might need the reserve-store approach. Of course i

Re: [PATCH RFC] driver core: ensure a device has valid node id in device_add()

2019-09-06 Thread Greg KH
On Fri, Sep 06, 2019 at 04:21:47PM +0800, Yunsheng Lin wrote: > On 2019/9/6 14:52, Greg KH wrote: > > On Fri, Sep 06, 2019 at 02:41:36PM +0800, Yunsheng Lin wrote: > >> On 2019/9/5 15:33, Greg KH wrote: > >>> On Thu, Sep 05, 2019 at 02:48:24PM +0800, Yunsheng Lin wrote: > On 2019/9/5 13:57, Gr

[PATCH] unicode: make array 'token' static const, makes object smaller

2019-09-06 Thread Colin King
From: Colin Ian King Don't populate the array 'token' on the stack but instead make it static const. Makes the object code smaller by 234 bytes. Before: textdata bss dec hex filename 5371 272 05643160b fs/unicode/utf8-core.o After: textdata bss

[PATCH v2] mm: fix double page fault on arm64 if PTE_AF is cleared

2019-09-06 Thread Jia He
When we tested pmdk unit test [1] vmmalloc_fork TEST1 in arm64 guest, there will be a double page fault in __copy_from_user_inatomic of cow_user_page. Below call trace is from arm64 do_page_fault for debugging purpose [ 110.016195] Call trace: [ 110.016826] do_page_fault+0x5a4/0x690 [ 110.0178

Re: [PATCH 00/18] virtiofs: Fix various races and cleanups round 1

2019-09-06 Thread Michael S. Tsirkin
On Fri, Sep 06, 2019 at 08:08:17AM -0400, Vivek Goyal wrote: > On Fri, Sep 06, 2019 at 01:52:41PM +0200, Miklos Szeredi wrote: > > On Fri, Sep 6, 2019 at 12:36 PM Stefan Hajnoczi wrote: > > > > > > On Fri, Sep 06, 2019 at 10:15:14AM +0200, Miklos Szeredi wrote: > > > > On Thu, Sep 5, 2019 at 9:49

Re: [PATCH V2 1/2] clk: imx8mm: Move 1443X/1416X PLL clock structure to common place

2019-09-06 Thread Leonard Crestez
On 06.09.2019 04:35, Anson Huang wrote: > Many i.MX8M SoCs use same 1443X/1416X PLL, such as i.MX8MM, > i.MX8MN and later i.MX8M SoCs, moving these PLL definitions > to pll14xx driver can save a lot of duplicated code on each > platform. > > Meanwhile, no need to define PLL clock structure for eve

Re: [PATCH] Bluetooth: hidp: Fix assumptions on the return value of hidp_send_message

2019-09-06 Thread Marcel Holtmann
Hi Jiri, >> hidp_send_message was changed to return non-zero values on success, >> which some other bits did not expect. This caused spurious errors to be >> propagated through the stack, breaking some drivers, such as hid-sony >> for the Dualshock 4 in Bluetooth mode. >> >> As pointed out by Dan

Re: [PATCH 00/18] virtiofs: Fix various races and cleanups round 1

2019-09-06 Thread Miklos Szeredi
On Fri, Sep 6, 2019 at 2:08 PM Vivek Goyal wrote: > > On Fri, Sep 06, 2019 at 01:52:41PM +0200, Miklos Szeredi wrote: > > On Fri, Sep 6, 2019 at 12:36 PM Stefan Hajnoczi wrote: > > > > > > On Fri, Sep 06, 2019 at 10:15:14AM +0200, Miklos Szeredi wrote: > > > > On Thu, Sep 5, 2019 at 9:49 PM Vivek

Re: [PATCH ARM64] selftests, arm64: add kernel headers path for tags_test

2019-09-06 Thread Andrey Konovalov
On Fri, Sep 6, 2019 at 3:51 PM Will Deacon wrote: > > On Wed, Sep 04, 2019 at 06:41:00PM +0200, Andrey Konovalov wrote: > > tags_test.c relies on PR_SET_TAGGED_ADDR_CTRL/PR_TAGGED_ADDR_ENABLE being > > present in system headers. When this is not the case the build of this > > test fails with undec

Re: [PATCH] Bluetooth: hidp: Fix error checks in hidp_get/set_raw_report

2019-09-06 Thread Marcel Holtmann
Hi Dan, > Commit 48d9cc9d85dd ("Bluetooth: hidp: Let hidp_send_message return > number of queued bytes") changed hidp_send_message to return non-zero > values on success, which some other bits did not expect. This caused > spurious errors to be propagated through the stack, breaking some (all?) >

Re: [PATCH 4.19 10/93] soundwire: cadence_master: fix register definition for SLAVE_STATE

2019-09-06 Thread Pavel Machek
On Wed 2019-09-04 19:53:12, Greg Kroah-Hartman wrote: > [ Upstream commit b07dd9b400981f487940a4d84292d3a0e7cd9362 ] > > wrong prefix and wrong macro. Both defines are unused in 4.19 stable... so this does not fix any bug. Best regards,

[PATCH v4 0/9 drm: rcar-du: Add Color Management Module (CMM)

2019-09-06 Thread Jacopo Mondi
[ Ugh, sorry for the double sending, but I forgot --cc-cover to git-send email and the series has not been delivered to the mailing lists. Sorry about that. ] Hello, new iteration of CMM support, with quite a few changes compared to v3: References: A reference to the v1 cover letter, with som

Re: [PATCH v4 15/16] virtio-fs: add virtiofs filesystem

2019-09-06 Thread Michael S. Tsirkin
On Fri, Sep 06, 2019 at 11:22:09AM +0100, Stefan Hajnoczi wrote: > On Thu, Sep 05, 2019 at 03:15:15PM -0400, Vivek Goyal wrote: > > On Tue, Sep 03, 2019 at 09:55:49AM -0400, Michael S. Tsirkin wrote: > > [..] > > > What's with all of the TODOs? Some of these are really scary, > > > looks like they

Re: [PATCH 4.19 24/93] tools: hv: fixed Python pep8/flake8 warnings for lsvmbus

2019-09-06 Thread Pavel Machek
Hi! > Fixed pep8/flake8 python style code for lsvmbus tool. > > The TAB indentation was on purpose ignored (pep8 rule W191) to make > sure the code is complying with the Linux code guideline. > The following command doe not show any warnings now: > pep8 --ignore=W191 lsvmbus > flake8 --ignore=W19

Re: [PATCH ARM64] selftests, arm64: add kernel headers path for tags_test

2019-09-06 Thread Will Deacon
On Wed, Sep 04, 2019 at 06:41:00PM +0200, Andrey Konovalov wrote: > tags_test.c relies on PR_SET_TAGGED_ADDR_CTRL/PR_TAGGED_ADDR_ENABLE being > present in system headers. When this is not the case the build of this > test fails with undeclared identifier errors. > > Fix by providing the path to th

Re: [PATCH 16/18] virtiofs: Use virtio_fs_mutex for races w.r.t ->remove and mount path

2019-09-06 Thread Vivek Goyal
On Fri, Sep 06, 2019 at 01:05:34PM +0100, Stefan Hajnoczi wrote: > On Thu, Sep 05, 2019 at 03:48:57PM -0400, Vivek Goyal wrote: > > It is possible that a mount is in progress and device is being removed at > > the same time. Use virtio_fs_mutex to avoid races. > > > > This also takes care of bunch

Re: [PATCH 15/18] virtiofs: Make virtio_fs object refcounted

2019-09-06 Thread Vivek Goyal
On Fri, Sep 06, 2019 at 01:03:09PM +0100, Stefan Hajnoczi wrote: > On Thu, Sep 05, 2019 at 03:48:56PM -0400, Vivek Goyal wrote: > > This object is used both by fuse_connection as well virt device. So make > > this object reference counted and that makes it easy to define life cycle > > of the objec

Re: [PATCH] PCI: Add PCIE ACS quirk for IPROC PAXB

2019-09-06 Thread Srinath Mannam
Hi Bjorn, Thank you for the improvements. With the changes, comments and commit message exactly describes the purpose. I tested the code changes and works fine. Thanks again, Srinath On Fri, Sep 6, 2019 at 3:56 AM Bjorn Helgaas wrote: > > [+cc Alex] > > On Tue, Aug 20, 2019 at 10:09:45AM +0530,

Re: Linux 5.2.13

2019-09-06 Thread Greg KH
diff --git a/Makefile b/Makefile index e26d52d93bb1..288284de8858 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 2 -SUBLEVEL = 12 +SUBLEVEL = 13 EXTRAVERSION = NAME = Bobtail Squid diff --git a/drivers/input/mouse/elantech.c b

Linux 5.2.13

2019-09-06 Thread Greg KH
I'm announcing the release of the 5.2.13 kernel. Only users of the elantech driver need to update to fix a regression in a previous release. The updated 5.2.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.2.y and can be browsed at

Linux 4.19.71

2019-09-06 Thread Greg KH
I'm announcing the release of the 4.19.71 kernel. Only users of the elantech driver need to upgrade to fix a regression in a recent release. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed

Re: Linux 4.19.71

2019-09-06 Thread Greg KH
diff --git a/Makefile b/Makefile index ecf8806cb71f..f6c9d5757470 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 70 +SUBLEVEL = 71 EXTRAVERSION = NAME = "People's Front" diff --git a/drivers/input/mouse/elantech

[PATCH -next] gpio: creg-snps: use devm_platform_ioremap_resource() to simplify code

2019-09-06 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Signed-off-by: YueHaibing --- drivers/gpio/gpio-creg-snps.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-creg-snps.c b/drivers/gpio/gpio-creg-snps.c index

Linux 5.2.12

2019-09-06 Thread Greg KH
I'm announcing the release of the 5.2.12 kernel. All users of the 5.2 kernel series must upgrade. The updated 5.2.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.2.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.19.70

2019-09-06 Thread Greg KH
diff --git a/Makefile b/Makefile index 677341239449..ecf8806cb71f 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 69 +SUBLEVEL = 70 EXTRAVERSION = NAME = "People's Front" diff --git a/arch/arm64/kernel/cpufeature

Linux 4.19.70

2019-09-06 Thread Greg KH
I'm announcing the release of the 4.19.70 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.9.191

2019-09-06 Thread Greg KH
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index f4f0a1b9ba29..61b73e42f488 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -3829,6 +3829,13 @@ bytes respectively. Such letter suffixes can also be entirely o

Linux 4.14.142

2019-09-06 Thread Greg KH
I'm announcing the release of the 4.14.142 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web browser

Re: [PATCH 2/2] tools/power/x86/intel-speed-select: Display core count for bucket

2019-09-06 Thread Andy Shevchenko
On Fri, Sep 06, 2019 at 05:39:54AM -0400, Prarit Bhargava wrote: > On 9/5/19 7:37 PM, Srinivas Pandruvada wrote: > > Read the bucket and core count relationship via MSR and display > > when displaying turbo ratio limits. > > + ret = isst_send_msr_command(cpu, 0x1ae, 0, buckets_info); > > ^^^ yo

Re: [PATCH 1/2] Revert "vhost: access vq metadata through kernel virtual address"

2019-09-06 Thread Michael S. Tsirkin
On Thu, Sep 05, 2019 at 08:27:35PM +0800, Jason Wang wrote: > It was reported that metadata acceleration introduces several issues, > so this patch reverts commit ff466032dc9e5a61217f22ea34b2df932786bbfc, > 73f628ec9e6bcc45b77c53fe6d0c0ec55eaf82af and > 0b4a7092ffe568a55bf8f3cefdf79ff666586d91. >

Re: Linux 4.14.142

2019-09-06 Thread Greg KH
diff --git a/Makefile b/Makefile index eefd21f3d1ec..ccced427d9de 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 141 +SUBLEVEL = 142 EXTRAVERSION = NAME = Petit Gorille diff --git a/arch/powerpc/kvm/book3s_64_vi

Linux 4.9.191

2019-09-06 Thread Greg KH
I'm announcing the release of the 4.9.191 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Linux 4.4.191

2019-09-06 Thread Greg KH
I'm announcing the release of the 4.4.191 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.4.191

2019-09-06 Thread Greg KH
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 7a9fd54a0186..5b94c0bfba85 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -3415,6 +3415,13 @@ bytes respectively. Such letter suffixes can also be entirely o

Re: [RFC PATCH v4 0/9] printk: new ringbuffer implementation

2019-09-06 Thread Sergey Senozhatsky
On (09/06/19 12:49), Peter Zijlstra wrote: > On Fri, Sep 06, 2019 at 07:09:43PM +0900, Sergey Senozhatsky wrote: > > > --- > > diff --git a/kernel/printk/printk_safe.c b/kernel/printk/printk_safe.c > > index 139c310049b1..9c73eb6259ce 100644 > > --- a/kernel/printk/printk_safe.c > > +++ b/kernel/p

Re: linux-next: manual merge of the usb tree with the pm tree

2019-09-06 Thread Greg KH
On Wed, Sep 04, 2019 at 08:09:29PM +1000, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the usb tree got a conflict in: > > drivers/usb/roles/intel-xhci-usb-role-switch.c > > between commit: > > d2a90ebb6553 ("usb: roles: intel_xhci: Supplying software node for the role

Re: [PATCH v2 0/6] Rework REFCOUNT_FULL using atomic_fetch_* operations

2019-09-06 Thread Will Deacon
On Wed, Aug 28, 2019 at 02:03:37PM -0700, Kees Cook wrote: > On Wed, Aug 28, 2019 at 03:14:40PM +0100, Will Deacon wrote: > > On Wed, Aug 28, 2019 at 09:30:52AM +0200, Peter Zijlstra wrote: > > > On Tue, Aug 27, 2019 at 05:31:58PM +0100, Will Deacon wrote: > > > > Will Deacon (6): > > > > lib/ref

Re: [PATCH 1/1] KVM: inject data abort if instruction cannot be decoded

2019-09-06 Thread Alexander Graf
On 06.09.19 15:31, Peter Maydell wrote: On Fri, 6 Sep 2019 at 14:13, Christoffer Dall wrote: I'd prefer leaving it to userspace to worry about, but I thought Peter said that had been problematic historically, which I took at face value, but I could have misunderstood. If QEMU, kvmtool, and w

Re: [RFC PATCH 3/4] Cleanup: sched/membarrier: only sync_core before usermode for same mm

2019-09-06 Thread Mathieu Desnoyers
- On Sep 6, 2019, at 3:41 AM, Peter Zijlstra pet...@infradead.org wrote: > On Thu, Sep 05, 2019 at 11:12:59PM -0400, Mathieu Desnoyers wrote: >> When the prev and next task's mm change, switch_mm() provides the core >> serializing guarantees before returning to usermode. The only case >> where

[PULL] vhost, virtio: last minute fixes

2019-09-06 Thread Michael S. Tsirkin
Hope this can still make it. I was not sure about virtio-net change but it seems that it prevents livelocks for some people. The following changes since commit 089cf7f6ecb266b6a4164919a2e69bd2f938374a: Linux 5.3-rc7 (2019-09-02 09:57:40 -0700) are available in the Git repository at: git://g

[PATCH] 9p: make two arrays static const, makes object smaller

2019-09-06 Thread Colin King
From: Colin Ian King Don't populate the arrays on the stack but instead make them static const. Makes the object code smaller by 386 bytes. Before: textdata bss dec hex filename 174432076 0 195194c3f fs/9p/vfs_inode_dotl.o After: textdata bss

Re: [PATCH 00/18] virtiofs: Fix various races and cleanups round 1

2019-09-06 Thread Michael S. Tsirkin
On Thu, Sep 05, 2019 at 03:48:41PM -0400, Vivek Goyal wrote: > Hi, > > Michael Tsirkin pointed out issues w.r.t various locking related TODO > items and races w.r.t device removal. > > In this first round of cleanups, I have taken care of most pressing > issues. > > These patches apply on top o

Re: [PATCH 14/18] virtiofs: Add a fuse_iqueue operation to put() reference

2019-09-06 Thread Vivek Goyal
On Fri, Sep 06, 2019 at 01:00:09PM +0100, Stefan Hajnoczi wrote: > On Thu, Sep 05, 2019 at 03:48:55PM -0400, Vivek Goyal wrote: > > diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h > > index 85e2dcad68c1..04e2c000d63f 100644 > > --- a/fs/fuse/fuse_i.h > > +++ b/fs/fuse/fuse_i.h > > @@ -479,6 +479,1

Re: [PATCH] dt-bindings: cpu: Add a support cpu type for cortex-a55

2019-09-06 Thread Rob Herring
On Thu, 5 Sep 2019 16:14:35 +0800, jamestai@gmail.com wrote: > From: "james.tai" > > Add arm cpu type cortex-a55. > > Signed-off-by: james.tai > --- > Documentation/devicetree/bindings/arm/cpus.yaml | 1 + > 1 file changed, 1 insertion(+) > Applied, thanks. Rob

Re: [PATCH 1/1] KVM: inject data abort if instruction cannot be decoded

2019-09-06 Thread Peter Maydell
On Fri, 6 Sep 2019 at 14:13, Christoffer Dall wrote: > I'd prefer leaving it to userspace to worry about, but I thought Peter > said that had been problematic historically, which I took at face value, > but I could have misunderstood. > > If QEMU, kvmtool, and whatever the crazy^H cool kids are us

Re: [PATCH 1/3] software node: implement reference properties

2019-09-06 Thread Heikki Krogerus
On Fri, Sep 06, 2019 at 03:40:43PM +0300, Andy Shevchenko wrote: > On Fri, Sep 06, 2019 at 02:17:44PM +0300, Heikki Krogerus wrote: > > On Thu, Sep 05, 2019 at 09:38:07PM -0700, Dmitry Torokhov wrote: > > > It is possible to store references to software nodes in the same fashion > > > as > > > oth

Re: [PATCH v2] swiotlb-xen: Convert to use macro

2019-09-06 Thread Boris Ostrovsky
On 9/6/19 8:27 AM, Souptick Joarder wrote: > On Mon, Sep 2, 2019 at 2:04 PM Souptick Joarder wrote: >> Rather than using static int max_dma_bits, this >> can be coverted to use as macro. >> >> Signed-off-by: Souptick Joarder >> Reviewed-by: Juergen Gross > If it is still not late, can we get thi

RE: [PATCH v3 net-next] net: stmmac: Add support for MDIO interrupts

2019-09-06 Thread Jose Abreu
From: Voon Weifeng Date: Sep/05/2019, 13:05:30 (UTC+00:00) > DW EQoS v5.xx controllers added capability for interrupt generation > when MDIO interface is done (GMII Busy bit is cleared). > This patch adds support for this interrupt on supported HW to avoid > polling on GMII Busy bit. Better leav

RE: [RFC net-next v2 4/5] net: phy: introducing support for DWC xPCS logics for EHL & TGL

2019-09-06 Thread Jose Abreu
From: Ong Boon Leong Date: Aug/28/2019, 18:47:21 (UTC+00:00) > xPCS is DWC Ethernet Physical Coding Sublayer that can be integrated with > Ethernet MAC controller and acts as converter between GMII and SGMII. You have to be careful here because xPCS supports much more than these interfaces and

Re: [PATCH v4] watchdog: qcom: support pre-timeout when the bark irq is available

2019-09-06 Thread Jorge Ramirez
>>> static const u32 reg_offset_data_apcs_tmr[] = { [WDT_RST] = 0x38, [WDT_EN] = 0x40, @@ -54,15 +58,38 @@ struct qcom_wdt *to_qcom_wdt(struct watchdog_device *wdd) return container_of(wdd, struct qcom_wdt, wdd); } +static inline int qcom

Re: [PATCH v5 10/11] usb-storage: remove single-use define for debugging

2019-09-06 Thread Greg KH
On Fri, Sep 06, 2019 at 02:59:42PM +0200, Jessica Yu wrote: > +++ Matthias Maennich [06/09/19 11:32 +0100]: > > USB_STORAGE was defined as "usb-storage: " and used in a single location > > as argument to printk. In order to be able to use the name > > 'USB_STORAGE', drop the definition and use the

Re: pull-request: wireless-drivers 2019-09-05

2019-09-06 Thread David Miller
From: Kalle Valo Date: Thu, 05 Sep 2019 16:58:01 +0300 > here's a pull request to net tree for v5.3, more info below. Please let > me know if there are any problems. Pulled, thanks Kalle.

Re: [PATCH V2 net-next 0/7] net: hns3: add some bugfixes and cleanups

2019-09-06 Thread David Miller
From: Huazhong Tan Date: Thu, 5 Sep 2019 21:31:35 +0800 > This patch-set includes bugfixes and cleanups for the HNS3 > ethernet controller driver. ... Series applied to net-next

Re: [PATCH net-next] MAINTAINERS: add myself as maintainer for xilinx axiethernet driver

2019-09-06 Thread David Miller
From: Radhey Shyam Pandey Date: Thu, 5 Sep 2019 18:26:08 +0530 > I am maintaining xilinx axiethernet driver in xilinx tree and would like > to maintain it in the mainline kernel as well. Hence adding myself as a > maintainer. Also Anirudha and John has moved to new roles, so based on > request r

Re: [PATCH 0/2] Revert and rework on the metadata accelreation

2019-09-06 Thread David Miller
From: Jason Wang Date: Fri, 6 Sep 2019 18:02:35 +0800 > On 2019/9/5 下午9:59, Jason Gunthorpe wrote: >> I think you should apply the revert this cycle and rebase the other >> patch for next.. >> >> Jason > > Yes, the plan is to revert in this release cycle. Then you should reset patch #1 all by i

[PATCH -tip v4 4/4] x86: kprobes: Prohibit probing on instruction which has emulate prefix

2019-09-06 Thread Masami Hiramatsu
Prohibit probing on instruction which has XEN_EMULATE_PREFIX or KVM's emulate prefix. Since that prefix is a marker for Xen and KVM, if we modify the marker by kprobe's int3, that doesn't work as expected. Signed-off-by: Masami Hiramatsu --- arch/x86/kernel/kprobes/core.c |4 1 file cha

[PATCH -tip v4 3/4] x86: xen: insn: Decode Xen and KVM emulate-prefix signature

2019-09-06 Thread Masami Hiramatsu
Decode Xen and KVM's emulate-prefix signature by x86 insn decoder. It is called "prefix" but actually not x86 instruction prefix, so this adds insn.emulate_prefix_size field instead of reusing insn.prefixes. If x86 decoder finds a special sequence of instructions of XEN_EMULATE_PREFIX and 'ud2a; .

[PATCH -tip v4 2/4] x86: xen: kvm: Gather the definition of emulate prefixes

2019-09-06 Thread Masami Hiramatsu
Gather the emulate prefixes, which forcibly make the following instruction emulated on virtualization, in one place. Suggested-by: Peter Zijlstra Signed-off-by: Masami Hiramatsu --- arch/x86/include/asm/emulate_prefix.h | 14 ++ arch/x86/include/asm/xen/interface.h | 11 ---

[PATCH -tip v4 1/4] x86/asm: Allow to pass macros to __ASM_FORM()

2019-09-06 Thread Masami Hiramatsu
Use __stringify() at __ASM_FORM() so that user can pass code including macros to __ASM_FORM(). Signed-off-by: Masami Hiramatsu --- arch/x86/include/asm/asm.h |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/x86/include/asm/asm.h b/arch/x86/include/asm/asm.h ind

[PATCH -tip v4 0/4] x86: kprobes: Prohibit kprobes on Xen/KVM emulate prefixes

2019-09-06 Thread Masami Hiramatsu
Hi, Here is the 4th version of patches to handle Xen/KVM emulate prefix by x86 instruction decoder. These patches allow x86 instruction decoder to decode Xen and KVM emulate prefix correctly, and prohibit kprobes to probe on it. Previous version is here; https://lkml.kernel.org/r/156773433821.3

Re: [PATCH net-next] net: phy: Do not check Link status when loopback is enabled

2019-09-06 Thread David Miller
From: Jose Abreu Date: Thu, 5 Sep 2019 13:43:10 +0200 > While running stmmac selftests I found that in my 1G setup some tests > were failling when running with PHY loopback enabled. > > It looks like when loopback is enabled the PHY will report that Link is > down even though there is a valid c

Re: [PATCH 4/5] dt-bindings: dma: ti-edma: Add option for reserved channel ranges

2019-09-06 Thread Rob Herring
On Tue, Sep 3, 2019 at 11:19 AM Peter Ujfalusi wrote: > > Hi Rob, > > On 30/08/2019 8.37, Peter Ujfalusi wrote: > > Rob, > > > > On 30/08/2019 1.47, Rob Herring wrote: > >> On Fri, Aug 23, 2019 at 03:56:17PM +0300, Peter Ujfalusi wrote: > >>> Similarly to paRAM slots, channels can be used by other

<    1   2   3   4   5   6   7   8   9   >