linux-next: Tree for May 31

2019-05-30 Thread Stephen Rothwell
Hi all, Changes since 20190530: The net-next tree gained a conflict against the net tree. It also gained a build failure for which I reverted a commit. I applied a patch to fix an sh build probem. The akpm-current tree lost its build failure. Non-merge commits (relative to Linus' tree): 3342

Re: [v3 PATCH] usb: create usb_debug_root for gadget only

2019-05-30 Thread Felipe Balbi
Hi, Chunfeng Yun writes: > Hi Felipe, > On Tue, 2019-05-28 at 11:11 +0300, Felipe Balbi wrote: >> Hi, >> >> Chunfeng Yun writes: >> > diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c >> > index 7fcb9f782931..88b3ee03a12d 100644 >> > --- a/drivers/usb/core/usb.c >> > +++

Re: [PATCH bpf] bpf: preallocate a perf_sample_data per event fd

2019-05-30 Thread Song Liu
> On May 30, 2019, at 5:01 PM, Matt Mullins wrote: > > On Thu, 2019-05-30 at 23:28 +, Song Liu wrote: >>> On May 30, 2019, at 3:55 PM, Matt Mullins wrote: >>> >>> It is possible that a BPF program can be called while another BPF >>> program is executing bpf_perf_event_output. This has

Re: [PATCH] PCI: endpoint: Add DMA to Linux PCI EP Framework

2019-05-30 Thread Kishon Vijay Abraham I
Hi Vinod, On 31/05/19 10:37 AM, Vinod Koul wrote: > Hi Kishon, > > On 30-05-19, 11:16, Kishon Vijay Abraham I wrote: >> +Vinod Koul >> >> Hi, >> >> On 30/05/19 4:07 AM, Alan Mikhak wrote: >>> On Mon, May 27, 2019 at 2:09 AM Gustavo Pimentel >>> wrote: On Fri, May 24, 2019 at 20:42:43,

Re: [PATCH 4.19 000/276] 4.19.47-stable review

2019-05-30 Thread Naresh Kamboju
On Thu, 30 May 2019 at 08:51, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.47 release. > There are 276 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH 4.14 000/193] 4.14.123-stable review

2019-05-30 Thread Naresh Kamboju
On Thu, 30 May 2019 at 08:55, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.123 release. > There are 193 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH v4] x86/power: Fix 'nosmt' vs. hibernation triple fault during resume

2019-05-30 Thread Josh Poimboeuf
On Fri, May 31, 2019 at 01:42:02AM +0200, Jiri Kosina wrote: > On Thu, 30 May 2019, Josh Poimboeuf wrote: > > > > > Reviewed-by: Thomas Gleixner > > > > > > Yes, it is, thanks! > > > > I still think changing monitor/mwait to use a fixmap address would be a > > much cleaner way to fix this.

Re: [PATCH 2/2] edac: add support for Amazon's Annapurna Labs EDAC

2019-05-30 Thread Borislav Petkov
On Fri, May 31, 2019 at 01:15:33AM +, Herrenschmidt, Benjamin wrote: > This isn't terribly helpful, there's nothing telling anybody which of > those files corresponds to an ARM SoC :-) drivers/edac/altera_edac.c is one example. Also, James and I have a small writeup on how an arm driver

Re: [RFC PATCH v3 00/16] Core scheduling v3

2019-05-30 Thread Aubrey Li
On Fri, May 31, 2019 at 11:01 AM Aaron Lu wrote: > > This feels like "date" failed to schedule on some CPU > on time. > > My first reaction is: when shell wakes up from sleep, it will > fork date. If the script is untagged and those workloads are > tagged and all available cores are already

Re: [PATCH] PCI: endpoint: Add DMA to Linux PCI EP Framework

2019-05-30 Thread Kishon Vijay Abraham I
Hi Alan, On 30/05/19 11:26 PM, Alan Mikhak wrote: > On Wed, May 29, 2019 at 10:48 PM Kishon Vijay Abraham I wrote: >> >> +Vinod Koul >> >> Hi, >> > On Fri, May 24, 2019 at 1:59 AM Gustavo Pimentel > wrote: >> >> Hi Alan, >> >> This patch implementation is very HW

Re: [PATCH] PCI: endpoint: Add DMA to Linux PCI EP Framework

2019-05-30 Thread Vinod Koul
Hi Kishon, On 30-05-19, 11:16, Kishon Vijay Abraham I wrote: > +Vinod Koul > > Hi, > > On 30/05/19 4:07 AM, Alan Mikhak wrote: > > On Mon, May 27, 2019 at 2:09 AM Gustavo Pimentel > > wrote: > >> > >> On Fri, May 24, 2019 at 20:42:43, Alan Mikhak > >> wrote: > >> > >> Hi Alan, > >> > >>> On

Re: [PATCH v4 00/14] Provide generic top-down mmap layout functions

2019-05-30 Thread Alex Ghiti
On 5/29/19 4:16 PM, Kees Cook wrote: On Sun, May 26, 2019 at 09:47:32AM -0400, Alexandre Ghiti wrote: This series introduces generic functions to make top-down mmap layout easily accessible to architectures, in particular riscv which was the initial goal of this series. The generic

[PATCH 1/2] PCI: Code reorganization for VGA device link

2019-05-30 Thread Abhishek Sahu
This patch does minor code reorganization. It introduces a helper function which creates device link from the non-VGA controller (consumer) to the VGA (supplier) and uses this helper function for creating device link from integrated HDA controller to VGA. It will help in subsequent patches which

[PATCH 2/2] PCI: Create device link for NVIDIA GPU

2019-05-30 Thread Abhishek Sahu
NVIDIA Turing GPUs include hardware support for USB Type-C and VirtualLink. It helps in delivering the power, display, and data required to power VR headsets through a single USB Type-C connector. The Turing GPU is a multi-function PCI device has the following four functions: - VGA

[PATCH 0/2] PCI: device link quirk for NVIDIA GPU

2019-05-30 Thread Abhishek Sahu
NVIDIA Turing GPU [1] has hardware support for USB Type-C and VirtualLink [2]. The Turing GPU is a multi-function PCI device which has the following four functions: - VGA display controller (Function 0) - Audio controller (Function 1) - USB xHCI Host controller (Function

Re: [PATCH] arm64: dts: rockchip: Add missing PCIe pwr amd rst configuration

2019-05-30 Thread Anand Moon
Hi Manivannan, On Fri, 31 May 2019 at 09:32, Manivannan Sadhasivam wrote: > > Hi, > > On Thu, May 30, 2019 at 12:58:37PM +, Anand Moon wrote: > > This patch add missing PCIe gpio and pinctrl for power (#PCIE_PWR) > > also add PCIe gpio and pinctrl for reset (#PCIE_PERST_L). > > > >

Re: [RFC PATCH v3 00/16] Core scheduling v3

2019-05-30 Thread Aubrey Li
On Thu, May 30, 2019 at 10:17 PM Julien Desfossez wrote: > > Interesting, could you detail a bit more your test setup (commands used, > type of machine, any cgroup/pinning configuration, etc) ? I would like > to reproduce it and investigate. Let me see if I can simply my test to reproduce it.

Re: [PATCH v4 08/14] arm: Use generic mmap top-down layout and brk randomization

2019-05-30 Thread Alex Ghiti
On 5/29/19 3:26 PM, Kees Cook wrote: On Sun, May 26, 2019 at 09:47:40AM -0400, Alexandre Ghiti wrote: arm uses a top-down mmap layout by default that exactly fits the generic functions, so get rid of arch specific code and use the generic version by selecting

Re: [PATCH v5] mfd: cros_ec_dev: Register cros_ec_accel_legacy driver as a subdevice

2019-05-30 Thread Gwendal Grignou
On Thu, May 30, 2019 at 12:48 AM Lee Jones wrote: > > On Wed, 29 May 2019, Gwendal Grignou wrote: > > > On Wed, May 29, 2019 at 4:44 AM Lee Jones wrote: > > > > > > On Tue, 28 May 2019, Gwendal Grignou wrote: > > > > > > > On Mon, Apr 1, 2019 at 8:46 PM Lee Jones wrote: > > > > > > > > > > On

答复: 答复: Re: [tip:x86/urgent] x86/mce: Ensure offline CPUs don' t participate in rendezvous process

2019-05-30 Thread Tony W Wang-oc
On Fri, May 31, 2019, Raj, Ashok wrote: > On Thu, May 30, 2019 at 09:13:39AM +, Tony W Wang-oc wrote: > > On Thu, May 30, 2019, Tony W Wang-oc wrote: > > > Hi Ashok, > > > I have two questions about this patch, could you help to check: > > > > > > 1, for broadcast #MC exceptions, this patch

Re: [PATCH v2] PCI: endpoint: Skip odd BAR when skipping 64bit BAR

2019-05-30 Thread Kishon Vijay Abraham I
Hi Alan, On 25/05/19 12:20 AM, Alan Mikhak wrote: > Hi Kishon, > > Yes. This change is still applicable even when the platform specifies > that it only supports 64-bit BARs by setting the bar_fixed_64bit > member of epc_features. > > The issue being fixed is this: If the 'continue' statement is

Re: [PATCH] vmalloc: Don't use flush flag when no exec perm

2019-05-30 Thread Edgecombe, Rick P
On Thu, 2019-05-30 at 10:44 +0300, Meelis Roos wrote: > > > The addition of VM_FLUSH_RESET_PERMS for BPF JIT allocations was > > > bisected to prevent boot on an UltraSparc III machine. It was > > > found > > > that > > > sometime shortly after the TLB flush this flag does on vfree of > > > the >

[PATCH 1/3] dt-bindings: i2c: document bindings for i2c-slave-mqueue

2019-05-30 Thread Eduardo Valentin
Document the i2c-slave-mqueue binding by adding descriptor, required properties, and example. Cc: Rob Herring Cc: Mark Rutland Cc: Wolfram Sang Cc: linux-...@vger.kernel.org Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin ---

[PATCH 2/3] i2c: slave-mqueue: add a slave backend to receive and queue messages

2019-05-30 Thread Eduardo Valentin
From: Haiyue Wang Some protocols over I2C are designed for bi-directional transferring messages by using I2C Master Write protocol. Like the MCTP (Management Component Transport Protocol) and IPMB (Intelligent Platform Management Bus), they both require that the userspace can receive messages

[PATCH 3/3] Documentation: ABI: Add i2c-slave-mqueue sysfs documentation

2019-05-30 Thread Eduardo Valentin
Document the slave-mqueue sysfs attribute used by the i2c-slave-mqueue driver. Cc: Rob Herring Cc: Mark Rutland Cc: Wolfram Sang Cc: linux-...@vger.kernel.org Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin ---

[PATCH 0/3] introduce i2c-slave-mqueue

2019-05-30 Thread Eduardo Valentin
Wolfram, I am sending you the i2c-slave-mqueue driver. Apparently Haiyue had to move on to another project and does not have cycles to continue with the comments on this driver after some time waiting for feedback, that is essentially why I took over. Here is a small changelog from V5 to V6: -

Re: [PATCH net-next 0/5] PTP support for the SJA1105 DSA driver

2019-05-30 Thread Richard Cochran
On Thu, May 30, 2019 at 06:23:09PM +0300, Vladimir Oltean wrote: > On Thu, 30 May 2019 at 18:06, Richard Cochran > wrote: > > > > But are the frames received in the same order? What happens your MAC > > drops a frame? > > > > If it drops a normal frame, it carries on. > If it drops a meta

Re: [GIT PULL] arm64: fixes for -rc3

2019-05-30 Thread pr-tracker-bot
The pull request you sent on Thu, 30 May 2019 17:11:26 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git tags/arm64-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/adc3f554fa1e0f1c7b76007150814e1d8a5fcd2b Thank you! -- Deet-doot-dot, I am

Re: [GIT] Networking

2019-05-30 Thread pr-tracker-bot
The pull request you sent on Thu, 30 May 2019 16:05:06 -0700 (PDT): > git://git.kernel.org/pub/scm/linux/kernel/git/davem/net refs/heads/master has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/036e34310931e64ce4f1edead435708cd517db10 Thank you! -- Deet-doot-dot, I am

Re: [PATCH v2 0/6] mm/devm_memremap_pages: Fix page release race

2019-05-30 Thread Dan Williams
On Mon, May 13, 2019 at 12:22 PM Logan Gunthorpe wrote: > > > > On 2019-05-08 11:05 a.m., Logan Gunthorpe wrote: > > > > > > On 2019-05-07 5:55 p.m., Dan Williams wrote: > >> Changes since v1 [1]: > >> - Fix a NULL-pointer deref crash in pci_p2pdma_release() (Logan) > >> > >> - Refresh the p2pdma

Re: [PATCH] arm64: dts: rockchip: Add missing PCIe pwr amd rst configuration

2019-05-30 Thread Manivannan Sadhasivam
Hi, On Thu, May 30, 2019 at 12:58:37PM +, Anand Moon wrote: > This patch add missing PCIe gpio and pinctrl for power (#PCIE_PWR) > also add PCIe gpio and pinctrl for reset (#PCIE_PERST_L). > > Signed-off-by: Anand Moon > --- > Tested on Rock960 Model A > --- >

Re: [GIT PULL] configfs fix for 5.2

2019-05-30 Thread pr-tracker-bot
The pull request you sent on Thu, 30 May 2019 10:53:21 +0200: > git://git.infradead.org/users/hch/configfs.git tags/configfs-for-5.2-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/8cb7104d03dddeb2f28e590b2d1fab7bf0eef284 Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] sound fixes for 5.2-rc3

2019-05-30 Thread pr-tracker-bot
The pull request you sent on Thu, 30 May 2019 10:51:17 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git > tags/sound-5.2-rc3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/c5ba1712661233ce0f4666b8c3dee5bb78d380f2 Thank you! -- Deet-doot-dot,

Re: [PATCH v3 1/3] PCI: Introduce pcibios_ignore_alignment_request

2019-05-30 Thread Alexey Kardashevskiy
On 31/05/2019 08:49, Shawn Anastasio wrote: > On 5/29/19 10:39 PM, Alexey Kardashevskiy wrote: >> >> >> On 28/05/2019 17:39, Shawn Anastasio wrote: >>> >>> >>> On 5/28/19 1:27 AM, Alexey Kardashevskiy wrote: On 28/05/2019 15:36, Oliver wrote: > On Tue, May 28, 2019 at 2:03 PM

[PATCH v2 00/17] net: introduce Qualcomm IPA driver

2019-05-30 Thread Alex Elder
This series presents the driver for the Qualcomm IP Accelerator (IPA). This is version 2 of the series. This version has addressed almost all of the feedback received in the first version: https://lore.kernel.org/lkml/20190512012508.10608-1-el...@linaro.org/ More detail is included in the

[PATCH v2 02/17] dt-bindings: soc: qcom: add IPA bindings

2019-05-30 Thread Alex Elder
Add the binding definitions for the "qcom,ipa" device tree node. Signed-off-by: Alex Elder --- .../devicetree/bindings/net/qcom,ipa.yaml | 180 ++ 1 file changed, 180 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/qcom,ipa.yaml diff --git

[PATCH v2 06/17] soc: qcom: ipa: GSI headers

2019-05-30 Thread Alex Elder
The Generic Software Interface is a layer of the IPA driver that abstracts the underlying hardware. The next patch includes the main code for GSI (including some additional documentation). This patch just includes three GSI header files. - "gsi.h" is the top-level GSI header file. There is

Re: linux-next: manual merge of the userns tree with the arc-current tree

2019-05-30 Thread Stephen Rothwell
Hi Vineet, On Thu, 30 May 2019 17:11:33 + Vineet Gupta wrote: > > Thx for this. Unfortunately I had to force push my for-next due to broken #7 > and > #8 above. So you may have to do this once again. Thanks for the heads up, but "git rerere" seems to have still coped, so its all good. --

[PATCH v2 07/17] soc: qcom: ipa: the generic software interface

2019-05-30 Thread Alex Elder
This patch includes "gsi.c", which implements the generic software interface (GSI) for IPA. The generic software interface abstracts channels, which provide a means of transferring data either from the AP to the IPA, or from the IPA to the AP. A ring buffer of "transfer elements" (TREs) is used

[PATCH v2 03/17] soc: qcom: ipa: main code

2019-05-30 Thread Alex Elder
This patch includes three source files that represent some basic "main program" code for the IPA driver. They are: - "ipa.h" defines the top-level IPA structure which represents an IPA device throughout the code. - "ipa_main.c" contains the platform driver probe function, along with

[PATCH v2 04/17] soc: qcom: ipa: configuration data

2019-05-30 Thread Alex Elder
This patch defines configuration data that is used to specify some of the details of IPA hardware supported by the driver. It is built as Device Tree match data, discovered at boot time. Initially the driver only supports the Qualcomm SDM845 SoC. Signed-off-by: Alex Elder ---

[PATCH v2 12/17] soc: qcom: ipa: IPA network device and microcontroller

2019-05-30 Thread Alex Elder
This patch includes the code that implements a Linux network device, using one TX and one RX IPA endpoint. It is used to implement the network device representing the modem and its connection to wireless networks. There are only a few things that are really modem-specific though, and they aren't

[PATCH v2 11/17] soc: qcom: ipa: immediate commands

2019-05-30 Thread Alex Elder
One TX endpoint (per EE) is used for issuing immediate commands to the IPA. These commands request activites beyond simple data transfers to be done by the IPA hardware. For example, the IPA is able to manage routing packets among endpoints, and immediate commands are used to configure tables

[PATCH v2 10/17] soc: qcom: ipa: IPA endpoints

2019-05-30 Thread Alex Elder
This patch includes the code implementing an IPA endpoint. This is the primary abstraction implemented by the IPA. An endpoint is one end of a network connection between two entities physically connected to the IPA. Specifically, the AP and the modem implement endpoints, and an (AP endpoint,

[PATCH v2 01/17] bitfield.h: add FIELD_MAX() and field_max()

2019-05-30 Thread Alex Elder
Define FIELD_MAX(), which supplies the maximum value that can be represented by a field value. Define field_max() as well, to go along with the lower-case forms of the field mask functions. Signed-off-by: Alex Elder --- include/linux/bitfield.h | 14 ++ 1 file changed, 14

[PATCH v2 08/17] soc: qcom: ipa: GSI transactions

2019-05-30 Thread Alex Elder
This patch implements GSI transactions. A GSI transaction is a structure that represents a single request (consisting of one or more TREs) sent to the GSI hardware. The last TRE in a transaction includes a flag requesting that the GSI interrupt the AP to notify that it has completed. TREs are

[PATCH v2 17/17] arm64: defconfig: enable build of IPA code

2019-05-30 Thread Alex Elder
Add CONFIG_IPA to the 64-bit Arm defconfig. Signed-off-by: Alex Elder --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 4d583514258c..6ed86cb6b597 100644 --- a/arch/arm64/configs/defconfig +++

[PATCH v2 15/17] MAINTAINERS: add entry for the Qualcomm IPA driver

2019-05-30 Thread Alex Elder
Add an entry in the MAINTAINERS file for the Qualcomm IPA driver Signed-off-by: Alex Elder --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 429c6c624861..a2dece647641 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12872,6 +12872,12 @@ L:

[PATCH v2 14/17] soc: qcom: ipa: support build of IPA code

2019-05-30 Thread Alex Elder
Add build and Kconfig support for the Qualcomm IPA driver. Signed-off-by: Alex Elder --- drivers/net/Kconfig | 2 ++ drivers/net/Makefile | 1 + drivers/net/ipa/Kconfig | 16 drivers/net/ipa/Makefile | 7 +++ 4 files changed, 26 insertions(+) create mode

[PATCH v2 13/17] soc: qcom: ipa: AP/modem communications

2019-05-30 Thread Alex Elder
This patch implements two forms of out-of-band communication between the AP and modem. - QMI is a mechanism that allows clients running on the AP interact with services running on the modem (and vice-versa). The AP IPA driver uses QMI to communicate with the corresponding IPA driver

[PATCH v2 16/17] arm64: dts: sdm845: add IPA information

2019-05-30 Thread Alex Elder
Add IPA-related nodes and definitions to "sdm845.dtsi". Signed-off-by: Alex Elder --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 51 1 file changed, 51 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index

[PATCH v2 09/17] soc: qcom: ipa: IPA interface to GSI

2019-05-30 Thread Alex Elder
This patch provides interface functions supplied by the IPA layer that are called from the GSI layer. One function is called when a GSI transaction has completed. The others allow the GSI layer to inform the IPA layer when the hardware has been told it has new TREs to execute, and when the

[PATCH v2 05/17] soc: qcom: ipa: clocking, interrupts, and memory

2019-05-30 Thread Alex Elder
This patch incorporates three source files (and their headers). They're grouped into one patch mainly for the purpose of making the number and size of patches in this series somewhat reasonable. - "ipa_clock.c" and "ipa_clock.h" implement clocking for the IPA device. The IPA has a single

Re: [PATCH v3 3/8] drivers/soc: xdma: Add user interface

2019-05-30 Thread Eduardo Valentin
On Wed, May 29, 2019 at 01:10:03PM -0500, Eddie James wrote: > This commits adds a miscdevice to provide a user interface to the XDMA > engine. The interface provides the write operation to start DMA > operations. The DMA parameters are passed as the data to the write call. > The actual data to

Re: mmotm 2019-05-29-20-52 uploaded

2019-05-30 Thread Stephen Rothwell
Hi all, On Wed, 29 May 2019 21:43:36 -0700 Luigi Semenzato wrote: > > My apologies but the patch > > mm-smaps-split-pss-into-components.patch > > has a bug (does not update private_clean and private_dirty). Please > do not include it. I will resubmit a corrected version. I have dropped that

memory leak in pppoe_sendmsg

2019-05-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:bec7550c Merge tag 'docs-5.2-fixes2' of git://git.lwn.net/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1280ecbaa0 kernel config: https://syzkaller.appspot.com/x/.config?x=64479170dcaf0e11

Re: [PATCH v3 5/8] drivers/soc: xdma: Add PCI device configuration sysfs

2019-05-30 Thread Eduardo Valentin
On Wed, May 29, 2019 at 01:10:05PM -0500, Eddie James wrote: > The AST2500 has two PCI devices embedded. The XDMA engine can use either > device to perform DMA transfers. Users need the capability to choose > which device to use. This commit therefore adds two sysfs files that > toggle the AST2500

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

2019-05-30 Thread Stephen Rothwell
Hi all, On Fri, 31 May 2019 12:27:58 +1000 Nicholas Piggin wrote: > > > I have reverted > > > > c353e2997976 ("mm/vmalloc: hugepage vmalloc mappings") > > a826492f28d9 ("mm: move ioremap page table mapping function to mm/") > > > > (and my fix up) for today and things seem to work (if only

Re: [v3 7/7] drm: mediatek: adjust dsi and mipi_tx probe sequence

2019-05-30 Thread CK Hu
Hi, Jitao: On Sun, 2019-05-19 at 17:25 +0800, Jitao Shi wrote: > mtk_mipi_tx is the phy of mtk_dsi. > mtk_dsi get the phy(mtk_mipi_tx) in probe(). > > So, mtk_mipi_tx init should be ahead of mtk_dsi. Or mtk_dsi will > defer to wait mtk_mipi_tx probe done. Reviewed-by: CK Hu > >

linux-next: build warning after merge of the scsi tree

2019-05-30 Thread Stephen Rothwell
Hi all, After merging the scsi tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning: drivers/scsi/ibmvscsi/ibmvscsi.c: In function 'ibmvscsi_work': drivers/scsi/ibmvscsi/ibmvscsi.c:2151:5: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized]

答复: 答复: Re: [tip:x86/urgent] x86/mce: Ensure offline CPUs don' t participate in rendezvous process

2019-05-30 Thread David Wang
> -Original Mail- > Sender: Raj, Ashok > Time: 2019.05.31 1:11 > To : Tony W Wang-oc > CC: tip...@zytor.com; b...@suse.de; h...@zytor.com; > linux-e...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-tip-comm...@vger.kernel.org; mi...@kernel.org; pet...@infradead.org; >

Re: [PATCH v3 2/8] drivers/soc: Add Aspeed XDMA Engine Driver

2019-05-30 Thread Eduardo Valentin
On Wed, May 29, 2019 at 01:10:02PM -0500, Eddie James wrote: > The XDMA engine embedded in the AST2500 SOC performs PCI DMA operations > between the SOC (acting as a BMC) and a host processor in a server. > > This commit adds a driver to control the XDMA engine and adds functions > to initialize

Re: [PATCH v5 3/3] thermal: cpu_cooling: Migrate to using the EM framework

2019-05-30 Thread Viresh Kumar
On 30-05-19, 12:27, Quentin Perret wrote: > On Thursday 30 May 2019 at 10:20:38 (+0100), Quentin Perret wrote: > > The newly introduced Energy Model framework manages power cost tables in > > a generic way. Moreover, it supports several types of models since the > > tables can come from DT or

[PATCH 1/1] PCI/IOV: fix cfg_size setting for multiple vfio-devices

2019-05-30 Thread Hao Zheng
When there are multiple vfio devices, only the cfg_size of first vfio device can be correctly set to 4096. The cfg_size of other vfio devices are incorrectly set to 256. This will cause an error when live migrating a virtual machine with vfio devices to multiple destinations. Fix this by setting

Re: [PATCH 1/2] scsi_host: add support for request batching

2019-05-30 Thread Ming Lei
On Thu, May 30, 2019 at 7:28 PM Paolo Bonzini wrote: > > This allows a list of requests to be issued, with the LLD only writing > the hardware doorbell when necessary, after the last request was prepared. > This is more efficient if we have lists of requests to issue, particularly > on

Re: [LKP] [SUNRPC] 0472e47660: fsmark.app_overhead 16.0% regression

2019-05-30 Thread Xing Zhengjun
On 5/31/2019 3:10 AM, Trond Myklebust wrote: On Thu, 2019-05-30 at 15:20 +0800, Xing Zhengjun wrote: On 5/30/2019 10:00 AM, Trond Myklebust wrote: Hi Xing, On Thu, 2019-05-30 at 09:35 +0800, Xing Zhengjun wrote: Hi Trond, On 5/20/2019 1:54 PM, kernel test robot wrote: Greeting, FYI,

Re: [PATCH v3 1/1] arm64: dts: rockchip: add core dtsi file for RK3399Pro SoCs

2019-05-30 Thread Manivannan Sadhasivam
On Thu, May 30, 2019 at 08:08:48AM +0800, Jianqun Xu wrote: > This patch adds core dtsi file for Rockchip RK3399Pro SoCs, > include rk3399.dtsi. Also enable pciei0/pcie_phy for AP to > talk to NPU part inside SoC. > > Signed-off-by: Jianqun Xu > --- > changes since v2: > - only enable pcie0 and

Re: [PATCH v2] checkpatch.pl: Warn on duplicate sysctl local variable

2019-05-30 Thread Joe Perches
On Fri, 2019-05-31 at 03:12 +0200, Matteo Croce wrote: > Commit 6a33853c5773 ("proc/sysctl: add shared variables for range check") > adds some shared const variables to be used instead of a local copy in > each source file. > Warn when a chunk duplicates one of these values in a ctl_table struct:

Re: [PATCH net-next] netfilter: nf_conntrack_bridge: Fix build error without IPV6

2019-05-30 Thread Yuehaibing
+cc netdev On 2019/5/31 10:46, YueHaibing wrote: > Fix gcc build error while CONFIG_IPV6 is not set > > In file included from net/netfilter/core.c:19:0: > ./include/linux/netfilter_ipv6.h: In function 'nf_ipv6_br_defrag': > ./include/linux/netfilter_ipv6.h:110:9: error: implicit declaration of

Re: [PATCH] ipv6: Prevent overrun when parsing v6 header options

2019-05-30 Thread Yang Xiao
On Fri, May 31, 2019 at 1:17 AM Eric Dumazet wrote: > > > > On 5/30/19 8:28 AM, Young Xiao wrote: > > The fragmentation code tries to parse the header options in order > > to figure out where to insert the fragment option. Since nexthdr points > > to an invalid option, the calculation of the

[PATCH] Subject:alignment:fetch pc-instr before irq_enable

2019-05-30 Thread xiaoqian
When the instruction code under PC address is read through _probe_kernel_read in do_alignment,if the pte page corresponding to the code segment of PC address is reclaimed exactly at this time, the address mapping cannot be reconstructed because page fault_disable() is executed in

Re: [RFC PATCH v3 00/16] Core scheduling v3

2019-05-30 Thread Aaron Lu
On 2019/5/30 22:04, Aubrey Li wrote: > On Thu, May 30, 2019 at 4:36 AM Vineeth Remanan Pillai > wrote: >> >> Third iteration of the Core-Scheduling feature. >> >> This version fixes mostly correctness related issues in v2 and >> addresses performance issues. Also, addressed some crashes related

[PATCH v8 4/4] arm64: dts: qcom: sdm845: Add Q6V5 MSS node

2019-05-30 Thread Bjorn Andersson
From: Sibi Sankar This patch adds Q6V5 MSS remoteproc node for SDM845 SoCs. Reviewed-by: Douglas Anderson Reviewed-by: Vinod Koul Signed-off-by: Sibi Sankar Signed-off-by: Bjorn Andersson --- Changes since v7: - None arch/arm64/boot/dts/qcom/sdm845.dtsi | 58

[PATCH v8 1/4] dt-bindings: soc: qcom: Add AOSS QMP binding

2019-05-30 Thread Bjorn Andersson
Add binding for the QMP based side-channel communication mechanism to the AOSS, which is used to control resources not exposed through the RPMh interface. Reviewed-by: Rob Herring Reviewed-by: Vinod Koul Signed-off-by: Bjorn Andersson --- Changes since v7: - Fix spelling of "Messaging"

[PATCH v8 2/4] soc: qcom: Add AOSS QMP driver

2019-05-30 Thread Bjorn Andersson
The Always On Subsystem (AOSS) Qualcomm Messaging Protocol (QMP) driver is used to communicate with the AOSS for certain side-channel requests, that are not available through the RPMh interface. The communication is a very simple synchronous mechanism of messages being written in message RAM and

[PATCH v8 3/4] arm64: dts: qcom: Add AOSS QMP node

2019-05-30 Thread Bjorn Andersson
The AOSS QMP provides a number of power domains, used for QDSS and PIL, add the node for this. Tested-by: Sibi Sankar Reviewed-by: Sibi Sankar Reviewed-by: Vinod Koul Signed-off-by: Bjorn Andersson --- Changes since v7: - None arch/arm64/boot/dts/qcom/sdm845.dtsi | 10 ++ 1 file

[PATCH v8 0/4] Qualcomm AOSS QMP driver

2019-05-30 Thread Bjorn Andersson
Introduce a driver implementing Qualcomm Messaging Protocol (QMP) to communicate with the Always On Subsystem (AOSS) and expose the low-power states for the remoteprocs as a set of power-domains and the QDSS clock as a clock. Changes since v7: - Minor tweaks code style tweaks and error handling

Re: [GIT PULL] clk fixes for v5.2-rc2

2019-05-30 Thread pr-tracker-bot
The pull request you sent on Wed, 29 May 2019 15:29:16 -0700: > https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git > tags/clk-fixes-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/20f944965601c59e68865d4ee12225fbabb5652b Thank you! --

Re: [PATCH] x86/mm/tlb: Do partial TLB flush when possible

2019-05-30 Thread Zhenzhong Duan
On 2019/5/30 22:15, Andy Lutomirski wrote: On Thu, May 30, 2019 at 12:56 AM Zhenzhong Duan wrote: This is a small optimization to stale TLB flush, if there is one new TLB flush, let it choose to do partial or full flush. or else, the stale flush take over and do full flush. I think this is

Re: [PATCHv5 0/2] x86/boot/KASLR: skip the specified crashkernel region

2019-05-30 Thread Pingfan Liu
Maintainers, ping? Hi Borislav, during the review of V4, you suggested to re-design the return value of parse_crashkernel(), the latest try is on https://lore.kernel.org/patchwork/patch/1065514/. It seems hard to move on in that thread. On the other hand, my series "[PATCHv5 0/2] x86/boot/KASLR:

[PATCH] s390/purgatory: update .gitignore

2019-05-30 Thread Masahiro Yamada
Since commit 4c0f032d4963 ("s390/purgatory: Omit use of bin2c"), kexec-purgatory.c is not generated. purgatory and purgatory.lds are generated files, so should be ignored by git. Signed-off-by: Masahiro Yamada --- arch/s390/purgatory/.gitignore | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH net-next] netfilter: nf_conntrack_bridge: Fix build error without IPV6

2019-05-30 Thread YueHaibing
Fix gcc build error while CONFIG_IPV6 is not set In file included from net/netfilter/core.c:19:0: ./include/linux/netfilter_ipv6.h: In function 'nf_ipv6_br_defrag': ./include/linux/netfilter_ipv6.h:110:9: error: implicit declaration of function 'nf_ct_frag6_gather'

Re: mmotm 2019-05-29-20-52 uploaded

2019-05-30 Thread Huang, Ying
"Huang, Ying" writes: > Hi, Mike, > > Mike Kravetz writes: > >> On 5/29/19 8:53 PM, a...@linux-foundation.org wrote: >>> The mm-of-the-moment snapshot 2019-05-29-20-52 has been uploaded to >>> >>>http://www.ozlabs.org/~akpm/mmotm/ >>> >> >> With this kernel, I seem to get many messages

[PATCH -mm] mm, swap: Fix bad swap file entry warning

2019-05-30 Thread Huang, Ying
From: Huang Ying Mike reported the following warning messages get_swap_device: Bad swap file entry 1401 This is produced by - total_swapcache_pages() - get_swap_device() Where get_swap_device() is used to check whether the swap device is valid and prevent it from being

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

2019-05-30 Thread Nicholas Piggin
Stephen Rothwell's on May 30, 2019 4:17 pm: > Hi all, > > My qemu boot (PowerPC le guest on PowerPC le host, with and without kvm, > using a kernel built with powerpc_pseries_le_defconfig) oopses during boot > like this: > >

[GIT PULL] gcc-plugins update for v5.2-rc3

2019-05-30 Thread Kees Cook
Hi Linus, Please pull this gcc-plugins fix for v5.2-rc3. This has lived in linux-next for about a week now. Thanks! -Kees The following changes since commit 259799ea5a9aa099a267f3b99e1f7078bbaf5c5e: gcc-plugins: arm_ssp_per_task_plugin: Fix for older GCC < 6 (2019-05-10 15:35:01 -0700)

Re: [PATCH] firmware_loader: fix build without sysctl

2019-05-30 Thread Randy Dunlap
On 5/30/19 6:26 PM, Matteo Croce wrote: > firmware_config_table has references to the sysctl code which > triggers a build failure when CONFIG_PROC_SYSCTL is not set: > > ld: drivers/base/firmware_loader/fallback_table.o:(.data+0x30): undefined > reference to `sysctl_vals' > ld:

Re: [PATCH v2] checkpatch.pl: Warn on duplicate sysctl local variable

2019-05-30 Thread Kees Cook
On Fri, May 31, 2019 at 03:12:27AM +0200, Matteo Croce wrote: > Commit 6a33853c5773 ("proc/sysctl: add shared variables for range check") > adds some shared const variables to be used instead of a local copy in > each source file. > Warn when a chunk duplicates one of these values in a ctl_table

Re: [PATCH] arm: vdso: pass --be8 to linker if necessary

2019-05-30 Thread Masahiro Yamada
Hi Jason, Thanks for catching this. On Thu, May 30, 2019 at 3:26 AM Jason A. Donenfeld wrote: > > The commit fe00e50b2db8 ("ARM: 8858/1: vdso: use $(LD) instead of $(CC) > to link VDSO") removed the passing of CFLAGS, since ld doesn't take > those directly. However, prior, big-endian ARM was

Re: [PATCH] kbuild: teach kselftest-merge to find nested config files

2019-05-30 Thread Masahiro Yamada
On Fri, May 31, 2019 at 4:00 AM Dan Rue wrote: > > On Mon, May 20, 2019 at 07:56:41PM +0200, Greg KH wrote: > > On Mon, May 20, 2019 at 10:16:14AM -0500, Dan Rue wrote: > > > Current implementation of kselftest-merge only finds config files that > > > are one level deep using

Re: [PATCH 3/4] net: stmmac: modify default value of tx-frames

2019-05-30 Thread biao huang
Hi Andrew, On Thu, 2019-05-30 at 14:58 +0200, Andrew Lunn wrote: > On Thu, May 30, 2019 at 04:54:43PM +0800, Biao Huang wrote: > > the default value of tx-frames is 25, it's too late when > > passing tstamp to stack, then the ptp4l will fail: > > > > ptp4l -i eth0 -f gPTP.cfg -m > > ptp4l:

[GIT PULL] Staging/IIO driver fixes for 5.2-rc3

2019-05-30 Thread Greg KH
The following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9: Linux 5.2-rc1 (2019-05-19 15:47:09 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git tags/staging-5.2-rc3 for you to fetch changes up to

[GIT PULL] TTY/Serial fixes for 5.2-rc3

2019-05-30 Thread Greg KH
The following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9: Linux 5.2-rc1 (2019-05-19 15:47:09 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tags/tty-5.2-rc3 for you to fetch changes up to

[GIT PULL] USB fixes for 5.2-rc3

2019-05-30 Thread Greg KH
The following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9: Linux 5.2-rc1 (2019-05-19 15:47:09 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-5.2-rc3 for you to fetch changes up to

Re: [PATCH v2 00/17] perf tools: Coresight: Add CPU-wide trace support

2019-05-30 Thread Leo Yan
On Fri, May 24, 2019 at 11:34:51AM -0600, Mathieu Poirier wrote: > This patchset adds support for CoreSight CPU-wide trace scenarios. More > specifically it extends the work that was done for per thread scenarios to > handle more than a single trace ID. It also temporally correlate traces >

Re: mmotm 2019-05-29-20-52 uploaded

2019-05-30 Thread Huang, Ying
Hi, Mike, Mike Kravetz writes: > On 5/29/19 8:53 PM, a...@linux-foundation.org wrote: >> The mm-of-the-moment snapshot 2019-05-29-20-52 has been uploaded to >> >>http://www.ozlabs.org/~akpm/mmotm/ >> > > With this kernel, I seem to get many messages such as: > > get_swap_device: Bad swap

RE: [PATCH 0/2] mailbox: arm: introduce smc triggered mailbox

2019-05-30 Thread Peng Fan
> > > > Subject: Re: [PATCH 0/2] mailbox: arm: introduce smc triggered > > > mailbox > > > > > > Hi, > > > > > > On 5/22/19 10:50 PM, Peng Fan wrote: > > > > This is a modified version from Andre Przywara's patch series > > > > > > >

Re: [PATCH] firmware_loader: fix build without sysctl

2019-05-30 Thread Stephen Rothwell
Hi all, On Fri, 31 May 2019 03:26:49 +0200 Matteo Croce wrote: > > firmware_config_table has references to the sysctl code which > triggers a build failure when CONFIG_PROC_SYSCTL is not set: > > ld: drivers/base/firmware_loader/fallback_table.o:(.data+0x30): undefined > reference to

Re: [PATCH] time/tick-broadcast: Fix tick_broadcast_offline() lockdep complaint

2019-05-30 Thread Frederic Weisbecker
On Thu, May 30, 2019 at 05:58:09AM -0700, Paul E. McKenney wrote: > It turns out that tick_broadcast_offline() was an innocent bystander. > After all, interrupts are supposed to be disabled throughout > take_cpu_down(), and therefore should have been disabled upon entry to >

[PATCH v2] hooks: fix a missing-check bug in selinux_sb_eat_lsm_opts()

2019-05-30 Thread Gen Zhang
In selinux_sb_eat_lsm_opts(), 'arg' is allocated by kmemdup_nul(). It returns NULL when fails. So 'arg' should be checked. Signed-off-by: Gen Zhang Reviewed-by: Ondrej Mosnacek Fixes: 99dbbb593fe6 ("selinux: rewrite selinux_sb_eat_lsm_opts()") --- diff --git a/security/selinux/hooks.c

  1   2   3   4   5   6   7   8   9   10   >