[PATCH] Add the memcg print oom info for system oom

2018-05-17 Thread ufo19890607
From: yuzhoujian The dump_header does not print the memcg's name when the system oom happened. Some users want to locate the certain container which contains the task that has been killed by the oom killer. So I add the mem_cgroup_print_oom_info when system oom events happened. Signed-off-by: yu

Re: [PATCH RFC] schedutil: Allow cpufreq requests to be made even when kthread kicked

2018-05-17 Thread Juri Lelli
Hi Joel, On 16/05/18 15:45, Joel Fernandes (Google) wrote: [...] > @@ -382,13 +391,24 @@ sugov_update_shared(struct update_util_data *hook, u64 > time, unsigned int flags) > static void sugov_work(struct kthread_work *work) > { > struct sugov_policy *sg_policy = container_of(work, struc

arch/sh/include/asm/io.h:246:32: warning: cast to pointer from integer of different size

2018-05-17 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: e6506eb241871d68647c53cb6d0a16299550ae97 commit: ac21fc2dcb405cf250ad3f1228f64f64930d9211 sh: switch to NO_BOOTMEM date: 6 days ago config: sh-allmodconfig (attached as .config) compiler: sh4-linux-gnu-gcc

Re: [PATCH 00/14] fpga api changes and kernel-doc fixup

2018-05-17 Thread Greg Kroah-Hartman
On Wed, May 16, 2018 at 06:49:53PM -0500, Alan Tull wrote: > I'm posting these all together because they are interdependent. > > Patches 1-4 are a repost of v4 of the FPGA api change. > > Patch 5 is a repost of adding SPDX to my fpga code > > Patch 6-12 update the fpga kernel-doc documentation a

[PATCH v1 2/2] perf annotate: Create hotkey 'c' to show max/min cycles

2018-05-17 Thread Jin Yao
In perf annotate view, a new hotkey 'c' is created for showing the max/min cycles. For example, when press 'c', the annotate view is: Percent│ IPC Cycle(max/min) │ │ │ Disassembly of section .text: │ │

[PATCH v1 0/2] perf annotate: add max/min cycles

2018-05-17 Thread Jin Yao
Currently perf has a feature to account cycles for LBRs For example, on skylake, perf record -b ... perf report or perf annotate And then browsing the annotate browser gives average cycle counts for program blocks. For some analysis it would be useful if we could know not only the average cycle

[PATCH v1 1/2] perf annotate: Record the max/min cycles

2018-05-17 Thread Jin Yao
Currently perf has a feature to account cycles for LBRs For example, on skylake, perf record -b ... perf report or perf annotate And then browsing the annotate browser gives average cycle counts for program blocks. For some analysis it would be useful if we could know not only the average cycles

Re: [PATCH v4 1/8] x86/hyper-v: move struct hv_flush_pcpu{,ex} definitions to common header

2018-05-17 Thread Vitaly Kuznetsov
KY Srinivasan writes: >> -Original Message- >> From: Vitaly Kuznetsov >> Sent: Wednesday, May 16, 2018 8:21 AM >> To: k...@vger.kernel.org >> Cc: x...@kernel.org; Paolo Bonzini ; Radim Krčmář >> ; Roman Kagan ; KY >> Srinivasan ; Haiyang Zhang >> ; Stephen Hemminger >> ; Michael Kelley (

Re: [PATCH v2 3/4] coresight: allow to build as modules

2018-05-17 Thread Greg Kroah-Hartman
On Wed, May 16, 2018 at 02:33:22PM -0500, Kim Phillips wrote: > Allow to build coresight as modules. This greatly enhances developer > efficiency by allowing the development to take place exclusively on the > target, and without needing to reboot in between changes. > > - Kconfig bools become tri

linux-next: Tree for May 17

2018-05-17 Thread Stephen Rothwell
Hi all, News: I will not be doing any linux-next releases between Friday 18 May and Friday 25 May inclusive. Changes since 20180516: New trees: devicetree-fixes The kbuild tree still had its build failure for which I applied a patch. The mvebu tree gained a conflict against the arm-soc tree.

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

2018-05-17 Thread Greg KH
On Thu, May 17, 2018 at 02:03:18PM +1000, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the usb-gadget tree got a conflict in: > > drivers/usb/mtu3/Kconfig > > between commit: > > cd91a0e9d38f ("usb: Remove depends on HAS_DMA in case of platform > dependency") > > from

Re: [PATCH] sched/rt: fix call to cpufreq_update_util

2018-05-17 Thread Vincent Guittot
On 17 May 2018 at 06:08, Viresh Kumar wrote: > On 16-05-18, 20:18, Vincent Guittot wrote: >> With commit 8f111bc357aa ("cpufreq/schedutil: Rewrite CPUFREQ_RT support") >> schedutil governor uses rq->rt.rt_nr_running to detect whether a RT task is >> currently running on the CPU and to set frequenc

Re: [PATCH] Add the memcg print oom info for system oom

2018-05-17 Thread Michal Hocko
On Thu 17-05-18 08:00:28, ufo19890607 wrote: > From: yuzhoujian > > The dump_header does not print the memcg's name when the system > oom happened. Some users want to locate the certain container > which contains the task that has been killed by the oom killer. > So I add the mem_cgroup_print_oom

drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c:4205:3: note: in expansion of macro 'xchg'

2018-05-17 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: e6506eb241871d68647c53cb6d0a16299550ae97 commit: c7aec59657b60f3a29fc7d3274ebefd698879301 ixgbevf: Add XDP support for pass and drop actions date: 8 weeks ago config: sparc-allyesconfig (attached as .confi

Re: [RFC] regmap: allow volatile register writes with cached only read maps

2018-05-17 Thread Jorge Ramirez-Ortiz
On 05/13/2018 04:22 AM, Mark Brown wrote: On Fri, May 11, 2018 at 12:29:42PM +0200, Jorge Ramirez-Ortiz wrote: On 05/11/2018 04:00 AM, Mark Brown wrote: We don't currently suppress writes except when regmap_update_bits() notices that the modification was a noop. You probably want to be using r

Re: [PATCH v2 3/3] arm64: dts: renesas: draak: Describe HDMI input

2018-05-17 Thread jacopo mondi
Hi Niklas, On Thu, May 17, 2018 at 12:23:18AM +0200, Niklas Söderlund wrote: > Hi Jacopo, > > Thanks for your patch. > > On 2018-05-16 15:42:09 +0200, Jacopo Mondi wrote: > > Describe HDMI input connector and ADV7612 HDMI decoder installed on > > R-Car Gen3 Draak board. > > > > The video signal ro

[PATCH v2] sched/rt: fix call to cpufreq_update_util

2018-05-17 Thread Vincent Guittot
With commit 8f111bc357aa ("cpufreq/schedutil: Rewrite CPUFREQ_RT support") schedutil governor uses rq->rt.rt_nr_running to detect whether a RT task is currently running on the CPU and to set frequency to max if necessary. cpufreq_update_util() is called in enqueue/dequeue_top_rt_rq() but rq->rt.rt_

Re: linux-next: Signed-off-by missing for commits in the v4l-dvb tree

2018-05-17 Thread Sakari Ailus
On Thu, May 17, 2018 at 07:37:02AM +1000, Stephen Rothwell wrote: > Hi Mauro, > > Commit > > af76c93aa36d ("media: cadence: csi2rx: Fix csi2rx_start error handling") > > is missing a Signed-off-by from its committer. Mauro's SoB line is indeed missing. I wonder what happened. > > Commits >

Re: [RFC 5/8] x86: refcount: prevent gcc distortions

2018-05-17 Thread Jan Beulich
>>> On 16.05.18 at 18:44, wrote: > Jan Beulich wrote: > On 15.05.18 at 16:11, wrote: >>> --- a/arch/x86/include/asm/refcount.h >>> +++ b/arch/x86/include/asm/refcount.h >>> @@ -14,34 +14,43 @@ >>> * central refcount exception. The fixup address for the exception points >>> * back to the re

RE: [PATCH v7 12/14] cpufreq: Add Kryo CPU scaling driver

2018-05-17 Thread ilialin
> -Original Message- > From: amit.kuche...@verdurent.com On > Behalf Of Amit Kucheria > Sent: Wednesday, May 16, 2018 16:13 > To: Ilia Lin > Cc: Michael Turquette ; sb...@kernel.org; Rob > Herring ; Mark Rutland ; Viresh > Kumar ; n...@ti.com; lgirdw...@gmail.com; > broo...@kernel.org;

Re: linux-next: manual merge of the staging tree with the v4l-dvb tree

2018-05-17 Thread Greg KH
On Thu, May 17, 2018 at 02:17:27PM +1000, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the staging tree got a conflict in: > > drivers/staging/media/atomisp/TODO > > between commit: > > 51b8dc5163d2 ("media: staging: atomisp: Remove driver") > > from the v4l-dvb tree a

RE: [PATCH v7 10/14] dt-bindings: qcom_spmi: Add support for SAW documentation

2018-05-17 Thread ilialin
> -Original Message- > From: amit.kuche...@verdurent.com On > Behalf Of Amit Kucheria > Sent: Wednesday, May 16, 2018 16:13 > To: Ilia Lin > Cc: Michael Turquette ; sb...@kernel.org; Rob > Herring ; Mark Rutland ; Viresh > Kumar ; n...@ti.com; lgirdw...@gmail.com; > broo...@kernel.org;

Re: [PATCH 1/1] ARM:dts:sunxi: Add Olimex A20-SOM-EVB-eMMC board

2018-05-17 Thread Stefan Wahren
Hi Stefan, > Stefan Mavrodiev hat am 16. Mai 2018 um 13:38 geschrieben: > > > With the new rev.E of A20-SOM-EVB, there is option for 16GB eMMC. > Currently used card is KLMAG2GEND, wired to MMC2 slot. > > Signed-off-by: Stefan Mavrodiev > --- > arch/arm/boot/dts/Makefile

[PATCH rdma-next 1/5] RDMA/hns: Implement the disassociate_ucontext API

2018-05-17 Thread Wei Hu (Xavier)
This patch Implements the IB core disassociate_ucontext API. Signed-off-by: Wei Hu (Xavier) --- drivers/infiniband/hw/hns/hns_roce_main.c | 36 +++ 1 file changed, 36 insertions(+) diff --git a/drivers/infiniband/hw/hns/hns_roce_main.c b/drivers/infiniband/hw/hns/hn

[PATCH rdma-next 2/5] RDMA/hns: Modify uar allocation algorithm to avoid bitmap exhaust

2018-05-17 Thread Wei Hu (Xavier)
This patch modified uar allocation algorithm in hns_roce_uar_alloc function to avoid bitmap exhaust. Signed-off-by: Wei Hu (Xavier) --- drivers/infiniband/hw/hns/hns_roce_device.h | 1 + drivers/infiniband/hw/hns/hns_roce_pd.c | 10 ++ 2 files changed, 7 insertions(+), 4 deletions(-

[PATCH rdma-next 3/5] RDMA/hns: Increase checking CMQ status timeout value

2018-05-17 Thread Wei Hu (Xavier)
This patch increases checking CMQ status timeout value and uses the same value with NIC driver to avoid deficiency of time. Signed-off-by: Wei Hu (Xavier) --- drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/hns/

[PATCH rdma-next 5/5] RDMA/hns: Fix the illegal memory operation when cross page

2018-05-17 Thread Wei Hu (Xavier)
This patch fixed the potential illegal operation when using the extend sge buffer cross page in post send operation. The bug will cause the calltrace. Reported-by: Jie Chen Reported-by: Xiping Zhang (Francis) Fixes: b1c1583("RDMA/hns: Get rid of virt_to_page and vmap calls after dma_alloc_coher

[PATCH rdma-next 0/5] Misc update for hns driver

2018-05-17 Thread Wei Hu (Xavier)
This patchset included fixing bug, some optimization, reset process and implementation of the disassociate_ucontext API for hns driver. Wei Hu (Xavier) (5): RDMA/hns: Implement the disassociate_ucontext API RDMA/hns: Modify uar allocation algorithm to avoid bitmap exhaust RDMA/hns: Increase

[PATCH 2/2] regulator: pfuze100: add .is_enable() for pfuze100_swb_regulator_ops

2018-05-17 Thread Anson Huang
If is_enabled() is not defined, regulator core will assume this regulator is already enabled, then it can NOT be really enabled after disabled. Based on Li Jun's patch from the NXP kernel tree. Signed-off-by: Anson Huang --- drivers/regulator/pfuze100-regulator.c | 1 + 1 file changed, 1 insert

[PATCH rdma-next 4/5] RDMA/hns: Add reset process for RoCE in hip08

2018-05-17 Thread Wei Hu (Xavier)
This patch added reset process for RoCE in hip08. Signed-off-by: Wei Hu (Xavier) --- drivers/infiniband/hw/hns/hns_roce_cmd.c| 3 ++ drivers/infiniband/hw/hns/hns_roce_device.h | 2 + drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 60 + drivers/infiniband/hw/hns/

[PATCH 1/2] regulator: pfuze100: add enable/disable for switch

2018-05-17 Thread Anson Huang
Add enable/disable support for switch regulator on pfuze100. Based on Robin Gong's patch from the NXP kernel tree. Signed-off-by: Anson Huang --- drivers/regulator/pfuze100-regulator.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/regulator/pfuze100-regulator.c b/drivers/

Re: [PATCH 1/1] ARM:dts:sunxi: Add Olimex A20-SOM-EVB-eMMC board

2018-05-17 Thread Stefan Mavrodiev
On 05/17/2018 10:25 AM, Stefan Wahren wrote: Hi Stefan, Stefan Mavrodiev hat am 16. Mai 2018 um 13:38 geschrieben: With the new rev.E of A20-SOM-EVB, there is option for 16GB eMMC. Currently used card is KLMAG2GEND, wired to MMC2 slot. Signed-off-by: Stefan Mavrodiev --- arch/arm/boot/dt

Re: Some questions about the spi mem framework

2018-05-17 Thread Xiangsheng Hou
On Thu, 2018-05-17 at 09:13 +0200, Boris Brezillon wrote: > On Thu, 17 May 2018 14:58:24 +0800 > Xiangsheng Hou wrote: > > > Hi Boris, > > > > On Wed, 2018-05-16 at 14:42 +0200, Boris Brezillon wrote: > > > On Wed, 16 May 2018 20:11:39 +0800 > > > Xiangsheng Hou wrote: > > > > > > > Hi Boris

Re: [PATCH v4 3/3] ARM: dts: tegra: Work safely with 256 MB Colibri-T20 modules

2018-05-17 Thread Krzysztof Kozlowski
On Tue, May 15, 2018 at 11:20 PM, Stefan Agner wrote: > On 15.05.2018 16:41, Krzysztof Kozlowski wrote: >> Colibri-T20 can come in 256 MB RAM (with 512 MB NAND) or 512 MB RAM >> (with 1024 MB NAND) flavors. Both of them will use the same DTSI >> expecting the bootloader to do the fixup of /memory

Re: [RFC] better visibility into kworkers

2018-05-17 Thread Alexey Dobriyan
> The kernel APIs for all this aren't really good > though, and I always was reluctant to check for PF_KTHREAD, as that > flag is neither documented for userspace, nor available in any > userspace-accessible headers. However, I wanted to tighten this a bit, > and hence we now define the flag in our

Re: Some questions about the spi mem framework

2018-05-17 Thread Boris Brezillon
On Thu, 17 May 2018 15:35:04 +0800 Xiangsheng Hou wrote: > On Thu, 2018-05-17 at 09:13 +0200, Boris Brezillon wrote: > > On Thu, 17 May 2018 14:58:24 +0800 > > Xiangsheng Hou wrote: > > > > > Hi Boris, > > > > > > On Wed, 2018-05-16 at 14:42 +0200, Boris Brezillon wrote: > > > > On Wed, 16

[PATCH v17 7/9] PCI/DPC: Disable ERR_NONFATAL handling by DPC

2018-05-17 Thread Oza Pawandeep
PCIe ERR_NONFATAL errors mean a particular transaction is unreliable but the Link is otherwise fully functional (PCIe r4.0, sec 6.2.2). The AER driver handles these by logging the error details and calling driver-supplied pci_error_handlers callbacks. It does not reset downstream devices, does no

[PATCH v17 9/9] PCI/DPC: Use the generic pcie_do_fatal_recovery() path

2018-05-17 Thread Oza Pawandeep
Our goal is to handle ERR_FATAL errors similarly, whether they are reported via AER or via DPC. A previous commit changed AER so it handles ERR_FATAL by calling driver .remove() methods and resetting the Link. DPC already does that (although the Link reset is done automatically by hardware and ha

[PATCH v17 6/9] PCI/portdrv: Add generic pcie_port_find_device()

2018-05-17 Thread Oza Pawandeep
Add generic pcie_port_find_device() routine. Signed-off-by: Oza Pawandeep Signed-off-by: Bjorn Helgaas Reviewed-by: Keith Busch diff --git a/drivers/pci/pcie/portdrv.h b/drivers/pci/pcie/portdrv.h index ba6c963..896608a 100644 --- a/drivers/pci/pcie/portdrv.h +++ b/drivers/pci/pcie/portdrv.h @

Re: [PATCH 07/14] powerpc: Add support for restartable sequences

2018-05-17 Thread Peter Zijlstra
On Thu, May 17, 2018 at 09:19:49AM +0800, Boqun Feng wrote: > On Wed, May 16, 2018 at 04:13:16PM -0400, Mathieu Desnoyers wrote: > > and that x86 calls it from syscall_return_slowpath() (which AFAIU is > > now used in the fast-path since KPTI), I wonder where we should call > > So we actually det

[PATCH v17 5/9] PCI/portdrv: Add generic pcie_port_find_service()

2018-05-17 Thread Oza Pawandeep
Add generic pcie_port_find_service() routine. Signed-off-by: Oza Pawandeep Signed-off-by: Bjorn Helgaas Reviewed-by: Keith Busch diff --git a/drivers/pci/pcie/aer/aerdrv_core.c b/drivers/pci/pcie/aer/aerdrv_core.c index 4fa1ee4..fdfc474 100644 --- a/drivers/pci/pcie/aer/aerdrv_core.c +++ b/dr

[PATCH v17 8/9] PCI/AER: Pass service type to pcie_do_fatal_recovery()

2018-05-17 Thread Oza Pawandeep
Pass the service type to pcie_do_fatal_recovery() instead of assuming AER. We will make DPC also use pcie_do_fatal_recovery(), and it needs to do things a little differently for AER and DPC. Signed-off-by: Oza Pawandeep [bhelgaas: split to separate patch] Signed-off-by: Bjorn Helgaas diff --git

[PATCH v17 2/9] PCI/AER: Handle ERR_FATAL with removal and re-enumeration of devices

2018-05-17 Thread Oza Pawandeep
PCIe ERR_FATAL errors mean the Link is unreliable. Components on the Link may need to be reset to return to reliable operation (PCIe r4.0, sec 6.2.2). We previously handled these errors much differently depending on whether the platform supports Downstream Port Containment (DPC) (PCIe r4.0, sec 6

Re: [PATCH v5 05/13] s390: vfio-ap: register matrix device with VFIO mdev framework

2018-05-17 Thread Cornelia Huck
On Mon, 14 May 2018 15:42:18 -0400 Tony Krowiak wrote: > On 05/11/2018 01:18 PM, Halil Pasic wrote: > > > > > > On 05/07/2018 05:11 PM, Tony Krowiak wrote: > >> Registers the matrix device created by the VFIO AP device > >> driver with the VFIO mediated device framework. > >> Registering the ma

[PATCH v5 3/3] ARM: dts: tegra: Work safely with 256 MB Colibri-T20 modules

2018-05-17 Thread Krzysztof Kozlowski
Colibri-T20 can come in 256 MB RAM (with 512 MB NAND) or 512 MB RAM (with 1024 MB NAND) flavors. Both of them will use the same DTSI expecting the bootloader to do the fixup of /memory node. However in case it does not happen, let's stay on safe side by limiting the memory to 256 MB for both vers

[PATCH v5 1/3] ARM: dts: tegra: Remove skeleton.dtsi and fix DTC warnings for /memory

2018-05-17 Thread Krzysztof Kozlowski
Remove the usage of skeleton.dtsi and add necessary properties to /memory node to fix the DTC warnings: arch/arm/boot/dts/tegra20-harmony.dtb: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name The DTB after the change is the same as before exc

[PATCH v17 0/9] Address error and recovery for AER and DPC

2018-05-17 Thread Oza Pawandeep
This patch set brings in error handling support for DPC The current implementation of AER and error message broadcasting to the EP driver is tightly coupled and limited to AER service driver. It is important to factor out broadcasting and other link handling callbacks. So that not only when AER ge

[PATCH v17 3/9] PCI/AER: Rename error recovery interfaces to generic PCI naming

2018-05-17 Thread Oza Pawandeep
Rename error recovery interfaces with "pcie_" prefix so they can be made non-static. Signed-off-by: Oza Pawandeep [bhelgaas: move declaration to later patch, leave functions static] Signed-off-by: Bjorn Helgaas Reviewed-by: Keith Busch diff --git a/drivers/pci/pcie/aer/aerdrv_core.c b/drivers

[PATCH v5 2/3] ARM: dts: tegra: Fix unit_address_vs_reg and avoid_unnecessary_addr_size DTC warnings

2018-05-17 Thread Krzysztof Kozlowski
Remove unneeded address/size cells properties and unit addresses to fix DTC warnings like: arch/arm/boot/dts/tegra30-apalis-eval.dtb: Warning (unit_address_vs_reg): /i2c@7000d000/stmpe811@41/stmpe_touchscreen@0: node has a unit name, but no reg property arch/arm/boot/dts/tegra30-a

[PATCH v17 4/9] PCI/AER: Factor out error reporting to drivers/pci/pcie/err.c

2018-05-17 Thread Oza Pawandeep
Move the error reporting callbacks from aerdrv_core.c to err.c, where they can be used by DPC in addition to AER. As part of aerdrv_core.c, these callbacks were built under CONFIG_PCIEAER. Moving them to the new err.c means they will now be built under CONFIG_PCIEPORTBUS, so adjust the definition

[PATCH v17 1/9] PCI: Add generic pcie_wait_for_link() interface

2018-05-17 Thread Oza Pawandeep
Clients such as hotplug and Downstream Port Containment (DPC) both need to wait until a link becomes active or inactive. Add a generic pcie_wait_link_active() interface and use it instead of duplicating the code. Signed-off-by: Oza Pawandeep Signed-off-by: Bjorn Helgaas Reviewed-by: Keith Busch

Re: [BUG] i2c-hid: ELAN Touchpad does not work on ASUS X580GD

2018-05-17 Thread Jarkko Nikula
Hi On 05/15/2018 01:20 PM, Jarkko Nikula wrote: On 05/15/2018 06:22 AM, Chris Chiu wrote: What if I change the 120MHz to 180MHz and then make sure that the I2C operates in target FS mode frequency 400kHz via scope? Would there be any side effect? Maybe some other busses frequency could be also

Re: [RFC/RFT] [PATCH 06/10] cpufreq / sched: Add interface to get utilization values

2018-05-17 Thread Peter Zijlstra
On Wed, May 16, 2018 at 03:40:39PM -0700, Srinivas Pandruvada wrote: > On Wed, 2018-05-16 at 10:11 +0200, Peter Zijlstra wrote: > > So I _really_ hate this... I'd much rather you make schedutil work > > with the hwp passive stuff. > Are you not happy with ifdefs are utility function itself? Can y

RE: [PATCH v7 12/14] cpufreq: Add Kryo CPU scaling driver

2018-05-17 Thread ilialin
> -Original Message- > From: Viresh Kumar > Sent: Wednesday, May 16, 2018 17:12 > To: Amit Kucheria > Cc: Ilia Lin ; Michael Turquette > ; sb...@kernel.org; Rob Herring > ; Mark Rutland ; n...@ti.com; > lgirdw...@gmail.com; broo...@kernel.org; Andy Gross > ; David Brown ; > catalin.mari

Re: Fw: [PATCHSET] workqueue: Show the latest workqueue name in /proc/PID/{comm,stat,status}

2018-05-17 Thread Alexey Dobriyan
On Wed, May 16, 2018 at 09:47:50PM -0700, Andrew Morton wrote: > Alexey, can you please review the proc bits of this series? > > Thanks. > > Begin forwarded message: > > Date: Wed, 16 May 2018 21:34:42 -0700 > From: Tejun Heo > To: torva...@linux-foundation.org, jiangshan...@gmail.com, > a...@

Re: [PATCH v4 00/31] kconfig: move compiler capability tests to Kconfig

2018-05-17 Thread Nicholas Piggin
On Thu, 17 May 2018 15:16:39 +0900 Masahiro Yamada wrote: > [Introduction] > > The motivation of this work is to move the compiler option tests to > Kconfig from Makefile. A number of kernel features require the > compiler support. Enabling such features blindly in Kconfig ends up > with a lot

Re: [RFC] mm, THP: Map read-only text segments using large THP pages

2018-05-17 Thread Michal Hocko
[CCing Kirill and fs-devel] On Mon 14-05-18 07:12:13, William Kucharski wrote: > One of the downsides of THP as currently implemented is that it only supports > large page mappings for anonymous pages. There is a support for shmem merged already. ext4 was next on the plan AFAIR but I haven't seen

[PATCH] scsi: snic: fix a couple of spelling mistakes: "COMPLETE"

2018-05-17 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistakes/typos: "SNIC_IOREQ_ABTS_COMPELTE" -> "SNIC_IOREQ_ABTS_COMPLETE" "SNIC_IOREQ_LR_COMPELTE" -> "SNIC_IOREQ_LR_COMPLETE" "SNIC_IOREQ_CMD_COMPELTE" -> "SNIC_IOREQ_CMD_COMPLETE" Signed-off-by: Colin Ian King --- drivers/scsi/snic/snic_scsi.c |

Re: [PATCHv6] gpio: Remove VLA from gpiolib

2018-05-17 Thread Geert Uytterhoeven
Hi Laura, On Thu, May 17, 2018 at 2:00 AM, Laura Abbott wrote: > The new challenge is to remove VLAs from the kernel > (see https://lkml.org/lkml/2018/3/7/621) to eventually > turn on -Wvla. > > Using a kmalloc array is the easy way to fix this but kmalloc is still > more expensive than stack all

Re: [PATCH 2/3] clk: renesas: r8a7795: Add ccree clock

2018-05-17 Thread Gilad Ben-Yossef
On Tue, May 15, 2018 at 5:47 PM, Geert Uytterhoeven wrote: > Hi Gilad, > > On Tue, May 15, 2018 at 2:29 PM, Gilad Ben-Yossef wrote: >> This patch adds the clock used by the CryptoCell 630p instance in the SoC. >> >> Signed-off-by: Gilad Ben-Yossef > > Thanks for your patch! > >> --- a/drivers/cl

Re: [RFC] platform: detach from PM domains on shutdown

2018-05-17 Thread Rafael J. Wysocki
On Thu, May 17, 2018 at 4:33 AM, Peng Fan wrote: > > >> -Original Message- >> From: rjwyso...@gmail.com [mailto:rjwyso...@gmail.com] On Behalf Of Rafael >> J. Wysocki >> Sent: 2018年5月17日 5:35 >> To: Ulf Hansson >> Cc: Peng Fan ; Rafael J. Wysocki >> ; Fabio Estevam ; Greg >> Kroah-Hartman

Re: [PATCH 3/3] arm64: dts: renesas: r8a7795: add ccree binding

2018-05-17 Thread Gilad Ben-Yossef
On Wed, May 16, 2018 at 10:43 AM, Simon Horman wrote: > On Tue, May 15, 2018 at 04:50:44PM +0200, Geert Uytterhoeven wrote: >> Hi Gilad, >> >> On Tue, May 15, 2018 at 2:29 PM, Gilad Ben-Yossef >> wrote: >> > Add bindings for CryptoCell instance in the SoC. >> > >> > Signed-off-by: Gilad Ben-Yoss

[PATCH] ALSA: emu10k1: fix spelling mistake: "Caputre" -> "Capture"

2018-05-17 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistakes in audigy_outs arrays. Signed-off-by: Colin Ian King --- sound/pci/emu10k1/emufx.c | 2 +- sound/pci/emu10k1/emuproc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/pci/emu10k1/emufx.c b/sound/pci/emu10k1/em

[PATCH v2] f2fs: Fix deadlock in shutdown ioctl

2018-05-17 Thread Sahitya Tummala
f2fs_ioc_shutdown() ioctl gets stuck in the below path when issued with F2FS_GOING_DOWN_FULLSYNC option. __switch_to+0x90/0xc4 percpu_down_write+0x8c/0xc0 freeze_super+0xec/0x1e4 freeze_bdev+0xc4/0xcc f2fs_ioctl+0xc0c/0x1ce0 f2fs_compat_ioctl+0x98/0x1f0 Signed-off-by: Sahitya Tummala --- v2: rem

[PATCH v2] mailbox: arm_mhu: add support for mhuv2

2018-05-17 Thread Samarth Parikh
ARM has launched a next version of MHU i.e. MHUv2 with its latest subsystems. The main change is that the MHUv2 is now a distributed IP with different peripheral views (registers) for the sender and receiver. Another main difference is that MHUv1 duplex channels are now split into simplex/half dup

Re: [RFC PATCH] drm: Add per-plane pixel blend mode property

2018-05-17 Thread Maarten Lankhorst
Op 08-05-18 om 12:34 schreef Lowry Li: > Pixel blend modes represent the alpha blending equation > selection, describing how the pixels from the current > plane are composited with the background. > > Add a pixel_blend_mode to drm_plane_state and a > blend_mode_property to drm_plane, and related su

Re: [PATCH] ALSA: emu10k1: fix spelling mistake: "Caputre" -> "Capture"

2018-05-17 Thread Takashi Iwai
On Thu, 17 May 2018 10:04:20 +0200, Colin King wrote: > > From: Colin Ian King > > Trivial fix to spelling mistakes in audigy_outs arrays. > > Signed-off-by: Colin Ian King Applied, thanks. Takashi

[GIT PULL] sound fixes for 4.17-rc6

2018-05-17 Thread Takashi Iwai
Linus, please pull sound fixes for v4.17-rc6 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.17-rc6 The topmost commit is c99f0802e42fcd38e84ee4d306691805ebed204f sound fixes for 4.17-rc6 We h

Re: [PATCH v3] vfio/mdev: Check globally for duplicate devices

2018-05-17 Thread Cornelia Huck
On Wed, 16 May 2018 21:30:19 -0600 Alex Williamson wrote: > When we create an mdev device, we check for duplicates against the > parent device and return -EEXIST if found, but the mdev device > namespace is global since we'll link all devices from the bus. We do > catch this later in sysfs_do_cr

Re: [PATCH v4 3/3] driver-core: print bus registration error value

2018-05-17 Thread kbuild test robot
://github.com/0day-ci/linux/commits/Florian-Schmaus/return-EINVAL-error-instead-of-BUG_ON/20180517-145147 config: x86_64-randconfig-x002-201819 (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64

Re: [PATCH 1/3] ARM: dra762: hwmod: Add MCAN support

2018-05-17 Thread Faiz Abbas
Hi Tony, On Tuesday 15 May 2018 10:53 PM, Tony Lindgren wrote: > * Tony Lindgren [180515 17:20]: >> * Tony Lindgren [180515 17:17]: >>> * Faiz Abbas [180515 06:05]: Hi Tony, On Tuesday 01 May 2018 08:56 PM, Tony Lindgren wrote: > Hi, > > * Faiz Abbas [180408 09:59]:

Re: [PATCH] crypto: reorder paes test lexicographically

2018-05-17 Thread Corentin Labbe
On Fri, May 11, 2018 at 09:04:06AM +0100, Gilad Ben-Yossef wrote: > Due to a snafu "paes" testmgr tests were not ordered > lexicographically, which led to boot time warnings. > Reorder the tests as needed. > > Fixes: a794d8d ("crypto: ccree - enable support for hardware keys") > Reported-by: Abdul

Re: [PATCH] usb-storage: Add quirks to make G-Technology "G-Drive" work

2018-05-17 Thread Alexander Kappner
Hi Alan, thanks for reviewing. (This is my first contribution that touches usb-storage, so please bear with me.) > That's kind of weird. Does the drive work under Windows in UAS mode? On the Windows 10 VM that I just spun up for testing this, access to the drive uses "usbstor.inf" (rather t

Re: [PATCH] KVM: arm/arm64: add WARN_ON if size is not PAGE_SIZE aligned in unmap_stage2_range

2018-05-17 Thread Suzuki K Poulose
Hi Jia, On 17/05/18 07:11, Jia He wrote: I ever met a panic under memory pressure tests(start 20 guests and run memhog in the host). Please avoid using "I" in the commit description and preferably stick to an objective description. The root cause might be what I fixed at [1]. But from arm

Re: [RFC/RFT] [PATCH 05/10] cpufreq: intel_pstate: HWP boost performance on IO Wake

2018-05-17 Thread Peter Zijlstra
On Wed, May 16, 2018 at 10:55:13AM -0700, Srinivas Pandruvada wrote: > On Wed, 2018-05-16 at 09:37 +0200, Peter Zijlstra wrote: > > On Tue, May 15, 2018 at 09:49:06PM -0700, Srinivas Pandruvada wrote: > > Hurmph, this looks like you're starting to duplicate the schedutil > > iowait logic. Why didn

RE: [PATCH v7 12/14] cpufreq: Add Kryo CPU scaling driver

2018-05-17 Thread ilialin
> -Original Message- > From: ilia...@codeaurora.org > Sent: Thursday, May 17, 2018 10:51 > To: 'Viresh Kumar' ; 'Amit Kucheria' > > Cc: 'Michael Turquette' ; 'sb...@kernel.org' > ; 'Rob Herring' ; 'Mark Rutland' > ; 'n...@ti.com' ; > 'lgirdw...@gmail.com' ; 'broo...@kernel.org' > ; 'And

Re: [UPDATE][RFC/RFT][PATCH 07/10] cpufreq: intel_pstate: HWP boost performance on busy task migrate

2018-05-17 Thread Peter Zijlstra
On Wed, May 16, 2018 at 01:51:11PM -0700, Srinivas Pandruvada wrote: > @@ -263,6 +264,7 @@ struct cpudata { > call_single_data_t csd; > bool hwp_boost_active; > u64 last_io_update; > + bool migrate_hint; > }; You want to look at that structure layout...

[Xen-devel][RFC 0/3] dma-buf support for gntdev

2018-05-17 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko This work is in response to my previous attempt to introduce Xen/DRM zero-copy driver [1] to enable Linux dma-buf API [2] for Xen based frontends/backends. There is also an existing hyper_dmabuf approach available [3] which, if reworked to utilize the proposed soluti

[Xen-devel][RFC 1/3] xen/balloon: Allow allocating DMA buffers

2018-05-17 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Signed-off-by: Oleksandr Andrushchenko --- drivers/xen/balloon.c | 214 +++--- drivers/xen/xen-balloon.c | 2 + include/xen/balloon.h | 11 +- 3 files changed, 188 insertions(+), 39 deletions(-) diff --git a/drivers/xen/b

[Xen-devel][RFC 2/3] xen/grant-table: Extend API to work with DMA buffers

2018-05-17 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Signed-off-by: Oleksandr Andrushchenko --- drivers/xen/grant-table.c | 49 +++ include/xen/grant_table.h | 7 ++ 2 files changed, 56 insertions(+) diff --git a/drivers/xen/grant-table.c b/drivers/xen/grant-table.c index bb3

Re: [PATCH RESENT v4] dell_rbu: make firmware payload memory uncachable

2018-05-17 Thread Takashi Iwai
On Wed, 09 May 2018 17:17:45 +0200, Stuart Hayes wrote: > > > On 4/18/2018 12:46 AM, Takashi Iwai wrote: > > From: Stuart Hayes > > > > The dell_rbu driver takes firmware update payloads and puts them in memory > > so > > the system BIOS can find them after a reboot. This sometimes fails (tho

[Xen-devel][RFC 3/3] xen/gntdev: Add support for Linux dma buffers

2018-05-17 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Signed-off-by: Oleksandr Andrushchenko --- drivers/xen/gntdev.c | 954 +- include/uapi/xen/gntdev.h | 101 include/xen/gntdev_exp.h | 23 + 3 files changed, 1066 insertions(+), 12 deletions(-) create mode 100644 incl

[PATCH] net: qcom/emac: Allocate buffers from local node

2018-05-17 Thread Hemanth Puranik
Currently we use non-NUMA aware allocation for TPD and RRD buffers, this patch modifies to use NUMA friendly allocation. Signed-off-by: Hemanth Puranik --- drivers/net/ethernet/qualcomm/emac/emac-mac.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet

[PATCH net-next v3 01/10] net: mvpp2: align the ethtool ops definition

2018-05-17 Thread Antoine Tenart
Cosmetic patch to align the ethtool functions to ops definitions. This patch does not change in any way the driver's behaviour. Signed-off-by: Antoine Tenart --- drivers/net/ethernet/marvell/mvpp2.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/dr

[PATCH net-next v3 06/10] net: mvpp2: 2500baseX support

2018-05-17 Thread Antoine Tenart
This patch adds the 2500Base-X PHY mode support in the Marvell PPv2 driver. 2500Base-X is quite close to 1000Base-X and SGMII modes and uses nearly the same code path. Signed-off-by: Antoine Tenart --- drivers/net/ethernet/marvell/mvpp2.c | 51 +--- 1 file changed, 39 ins

[PATCH net-next 1/2] net: phy: sfp: make the i2c-bus property really optional

2018-05-17 Thread Antoine Tenart
The SFF,SFP documentation is clear about making all the DT properties, with the exception of the compatible, optional. In practice this is not the case and without an i2c-bus property provided the SFP code will throw NULL pointer exceptions. This patch is an attempt to fix this. Signed-off-by: An

[PATCH net-next v3 10/10] arm64: dts: marvell: 7040-db: describe the 10G interface as fixed-link

2018-05-17 Thread Antoine Tenart
This patch adds a fixed-link node to the 10G interface of the 7040-db board. This is required as the mvpp2 driver now uses phylink. The best solution would have been to describe the SFP cage but they are not wired correctly, and thus unusable, so we chose to use fixed-link instead. Signed-off-by:

[PATCH net-next v3 09/10] arm64: dts: marvell: 8040-db: describe the 10G interfaces as fixed-link

2018-05-17 Thread Antoine Tenart
This patch adds a fixed-link node to both 10G interfaces of the 8040-db board. This is required as the mvpp2 driver now uses phylink. The best solution would have been to describe the SFP cages but they are not wired correctly, and thus unusable, so we chose to use fixed-link instead. Signed-off-b

[PATCH net-next v3 00/10] net: mvpp2: phylink conversion

2018-05-17 Thread Antoine Tenart
Hi Dave, Russell, This series convert the Marvell PPv2 driver to phylink (models the MAC to PHY link). One important point is the PPv2 driver supports two probe modes: device tree and ACPI. This series only brings phylink support for the device tree mode, as the ACPI one will need further work. S

[PATCH net-next v3 04/10] phy: cp110-comphy: 2.5G SGMII mode

2018-05-17 Thread Antoine Tenart
This patch allow the CP110 comphy to configure some lanes in the 2.5G SGMII mode. This mode is quite close to SGMII and uses nearly the same code path. Signed-off-by: Antoine Tenart --- drivers/phy/marvell/phy-mvebu-cp110-comphy.c | 17 ++--- 1 file changed, 14 insertions(+), 3 delet

[PATCH net-next v3 03/10] phy: add 2.5G SGMII mode to the phy_mode enum

2018-05-17 Thread Antoine Tenart
This patch adds one more generic PHY mode to the phy_mode enum, to allow configuring generic PHYs to the 2.5G SGMII mode by using the set_mode callback. Signed-off-by: Antoine Tenart Acked-by: Kishon Vijay Abraham I --- include/linux/phy/phy.h | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH net-next v3 02/10] net: mvpp2: phylink support

2018-05-17 Thread Antoine Tenart
Convert the PPv2 driver to implement phylink helpers, and use phylink in DT mode. The other mode supported is ACPI, which will need further work in order to be entirely compatible with phylink. The MAC and GoP configuration functions were completely moved to fit into the phylink helpers. When a PH

[PATCH net-next v3 08/10] arm64: dts: marvell: mcbin: enable the fourth network interface

2018-05-17 Thread Antoine Tenart
This patch enables the fourth network interface on the Marvell Macchiatobin. It is configured in the 2500Base-X PHY mode. The SFP cage is also described. Signed-off-by: Antoine Tenart --- .../boot/dts/marvell/armada-8040-mcbin.dts| 32 +++ 1 file changed, 32 insertions(+) di

[PATCH net-next 0/2] net: sfp: small improvements

2018-05-17 Thread Antoine Tenart
Hi Russell, This series was part of the mvpp2 phylink one but as we reworked it to use fixed-link on the DB boards, the SFP commits weren't needed anymore for our use case. Two of the three patches still are needed I believe (I ditched the one about non-wired SFP cages), so they are sent here in a

[PATCH net-next v3 07/10] arm64: dts: marvell: mcbin: add 10G SFP support

2018-05-17 Thread Antoine Tenart
From: Russell King This patch adds the SFP cage description in the Marvell Armada 8040 mcbin, for both 10G interfaces. Signed-off-by: Russell King [Antoine: small reworks, commit message] Signed-off-by: Antoine Tenart --- .../boot/dts/marvell/armada-8040-mcbin.dts| 38 +++

[PATCH net-next 2/2] net: phy: sfp: warn the user when no tx_disable pin is available

2018-05-17 Thread Antoine Tenart
In case no Tx disable pin is available the SFP modules will always be emitting. This could be an issue when using modules using laser as their light source as we would have no way to disable it when the fiber is removed. This patch adds a warning when registering an SFP cage which do not have its t

[PATCH net-next 2/3] net: mvpp2: set mac address does not require the stop/start sequence

2018-05-17 Thread Antoine Tenart
From: Yan Markman Remove special stop/start handling from the set_mac_address callback. All this special care is not needed, and can be removed. It also simplifies the up/down status in the driver and helps avoiding possible link status mismatch issues. Signed-off-by: Yan Markman [Antoine: comm

[PATCH net-next 1/3] net: mvpp2: avoid checking for free aggregated descriptors twice

2018-05-17 Thread Antoine Tenart
From: Yan Markman Avoid repeating the check for free aggregated descriptors when it already failed at the beginning of the function. Signed-off-by: Yan Markman [Antoine: commit message] Signed-off-by: Antoine Tenart --- drivers/net/ethernet/marvell/mvpp2.c | 7 +++ 1 file changed, 3 inser

[PATCH net-next 3/3] net: mvpp2: print rx error with rate-limit

2018-05-17 Thread Antoine Tenart
From: Yan Markman Prevent flood of RX error prints during heavy traffic with weak signal in link by checking net_ratelimit() before using netdev_err(). Signed-off-by: Yan Markman [Antoine: small rework, commit message] Signed-off-by: Antoine Tenart --- drivers/net/ethernet/marvell/mvpp2.c | 1

[PATCH net-next 0/3] net: mvpp2: small improvements

2018-05-17 Thread Antoine Tenart
Hi all, Those 3 patches are small improvements to the Marvell PPv2 driver. The series does not conflict with the one sent about phylink and 1000/2500baseX support, so the two series can live in parallel. Thanks! Antoine Yan Markman (3): net: mvpp2: avoid checking for free aggregated descriptor

  1   2   3   4   5   6   7   8   9   10   >