[PATCH v2 5/6] dt-bindings: clock: add meson axg audio clock controller bindings

2018-05-22 Thread Jerome Brunet
Export the clock ids dt-bindings usable by the consumers of the clock controller and add the documentation for the device tree bindings of the audio clock controller of the A113 based SoCs. Acked-by: Neil Armstrong Reviewed-by: Rob Herring Signed-off-by: Jerome Brunet --- .../bindings/clock/am

Re: [PATCH v2 2/2] kasan: fix memory hotplug during boot

2018-05-22 Thread David Hildenbrand
On 22.05.2018 18:26, Andrey Ryabinin wrote: > > > On 05/22/2018 01:07 PM, David Hildenbrand wrote: >> Using module_init() is wrong. E.g. ACPI adds and onlines memory before >> our memory notifier gets registered. >> >> This makes sure that ACPI memory detected during boot up will not >> result in

Re: [media] duplicate code in media drivers

2018-05-22 Thread Gustavo A. R. Silva
Mauro, I already sent some patches based on your comments. Thanks! -- Gustavo On 05/21/2018 03:14 PM, Mauro Carvalho Chehab wrote: Em Mon, 21 May 2018 14:39:51 -0500 "Gustavo A. R. Silva" escreveu: Hi Mauro, I found some duplicate code with the help of Coccinelle and Coverity. Notice that

Re: [PATCH 1/2] regulator: add QCOM RPMh regulator driver

2018-05-22 Thread Mark Brown
On Thu, May 17, 2018 at 01:48:41PM -0700, David Collins wrote: > The RPMh hardware is configured by the boot loader. The configuration > does reflect reality; however, it cannot handle all configurations at > initialization time. Specific headroom management typically comes up in > modem usecase

Re: [PATCH v8 2/3] drm: writeback: Add out-fences for writeback connectors

2018-05-22 Thread Liviu Dudau
On Mon, May 21, 2018 at 12:02:25PM -0700, Eric Anholt wrote: > Liviu Dudau writes: > > > From: Brian Starkey > > > > Add the WRITEBACK_OUT_FENCE_PTR property to writeback connectors, to > > enable userspace to get a fence which will signal once the writeback is > > complete. It is not allowed to

Re: [PATCH v2 01/26] rculist: introduce list_next_or_null_rr_rcu()

2018-05-22 Thread Paul E. McKenney
On Tue, May 22, 2018 at 11:09:08AM +0200, Roman Penyaev wrote: > On Mon, May 21, 2018 at 5:33 PM, Paul E. McKenney > wrote: > > On Mon, May 21, 2018 at 08:16:59AM -0700, Linus Torvalds wrote: > >> On Mon, May 21, 2018 at 6:51 AM Roman Penyaev < > >> roman.peny...@profitbricks.com> wrote: > >> > >>

[PATCH v2 6/6] clk: meson: axg: add the audio clock controller driver

2018-05-22 Thread Jerome Brunet
The axg audio clock controller is the clock generation unit for the amlogic audio subsystem of A113 based SoCs. It may be clocked by 8 different plls provided by the primary clock controller and also by 10 slave bit clocks and 10 slave sample clocks which may be provided by external components, suc

[PATCH v2 2/6] clk: meson: add clk-phase clock driver

2018-05-22 Thread Jerome Brunet
Add a driver based meson clk-regmap to control clock phase on amlogic SoCs Acked-by: Neil Armstrong Signed-off-by: Jerome Brunet --- drivers/clk/meson/Makefile| 1 + drivers/clk/meson/clk-phase.c | 63 +++ drivers/clk/meson/clkc.h | 8 ++ 3

[PATCH v2 3/6] clk: meson: add triple phase clock driver

2018-05-22 Thread Jerome Brunet
Add a driver to control the output of the sample clock generator found in the axg audio clock controller. The goal of this driver is to coherently control the phase provided to the different element using the sample clock generator. This simplify the usage of the sample clock generator a lot, with

[PATCH v2 4/6] clk: meson: add axg audio sclk divider driver

2018-05-22 Thread Jerome Brunet
Add a driver to control the clock divider found in the sample clock generator of the axg audio clock controller. The sclk divider accumulates specific features which make the generic divider unsuitable to control it: - zero based divider (div = val + 1), but zero value gates the clock, so minimu

Re: [PATCH v4 1/3] dt-bindings: media: rcar-vin: Add R8A77995 support

2018-05-22 Thread Rob Herring
On Mon, May 21, 2018 at 04:45:40PM +0200, Jacopo Mondi wrote: > Add compatible string for R-Car D3 R8A7795 to list of SoCs supported by > rcar-vin driver. > > Signed-off-by: Jacopo Mondi > Acked-by: Niklas Söderlund > Reviewed-by: Laurent Pinchart > Reviewed-by: Simon Horman > --- > Documenta

Re: [PATCH v4 1/2] xen/PVH: Set up GS segment for stack canary

2018-05-22 Thread Jan Beulich
>>> On 22.05.18 at 18:20, wrote: > On 05/22/2018 12:10 PM, Jan Beulich wrote: > On 22.05.18 at 17:15, wrote: >>> On Tue, May 22, 2018 at 9:57 AM, Jan Beulich wrote: >>> On 22.05.18 at 15:45, wrote: > On Mon, May 21, 2018 at 11:54 PM, Boris Ostrovsky > > wrote: >> @@ -98,6

Re: [PATCH 1/3] drm: Trust format_mod_supported() when it OKs a plane modifier.

2018-05-22 Thread Ville Syrjälä
On Fri, Mar 16, 2018 at 03:04:33PM -0700, Eric Anholt wrote: > For parameterized modifiers (Broadcom's SAND and UIF), we need to > allow the parameter fields to be filled in, while exposing only the > variant of the modifier with the parameter unfilled in the internal > arrays and the format blob.

Re: [PATCH] block: kyber: make kyber more friendly with merging

2018-05-22 Thread Holger Hoffstätte
On 05/22/18 16:48, Jianchao Wang wrote: > Currently, kyber is very unfriendly with merging. kyber depends > on ctx rq_list to do merging, however, most of time, it will not > leave any requests in ctx rq_list. This is because even if tokens > of one domain is used up, kyber will try to dispatch req

Re: Clang arm64 build is broken

2018-05-22 Thread Andrey Konovalov
On Mon, May 14, 2018 at 6:24 PM, Nick Desaulniers wrote: > On Fri, Apr 20, 2018 at 7:59 AM Andrey Konovalov > wrote: >> On Fri, Apr 20, 2018 at 10:13 AM, Marc Zyngier > wrote: >> >> The issue is that >> >> clang doesn't know about the "S" asm constraint. I reported this to >> >> clang [2], and h

Re: [PATCH v6 2/5] fs: Convert kiocb rw_hint from enum to u16

2018-05-22 Thread Jens Axboe
On 5/22/18 10:24 AM, Goldwyn Rodrigues wrote: > > > On 05/22/2018 10:32 AM, Jens Axboe wrote: >> On 5/22/18 9:07 AM, adam.manzana...@wdc.com wrote: >>> From: Adam Manzanares >>> >>> In order to avoid kiocb bloat for per command iopriority support, rw_hint >>> is converted from enum to a u16. Add

Re: [PATCH 10/14] arm64: ssbd: Add prctl interface for per-thread mitigation

2018-05-22 Thread Marc Zyngier
On Tue, 22 May 2018 16:48:42 +0100, Dominik Brodowski wrote: > > > On Tue, May 22, 2018 at 04:06:44PM +0100, Marc Zyngier wrote: > > If running on a system that performs dynamic SSBD mitigation, allow > > userspace to request the mitigation for itself. This is implemented > > as a prctl call, all

Re: [PATCH 8/8] arm64: tegra: Mark tcu as primary serial port on Tegra194 P2888

2018-05-22 Thread Jon Hunter
On 08/05/18 12:44, Mikko Perttunen wrote: The Tegra Combined UART is the proper primary serial port on P2888, so use it. Signed-off-by: Mikko Perttunen --- arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/

Re: [PATCH 7/8] arm64: tegra: Add nodes for tcu on Tegra194

2018-05-22 Thread Jon Hunter
On 08/05/18 12:44, Mikko Perttunen wrote: Add nodes required for communication through the Tegra Combined UART. This includes the AON HSP instance, addition of shared interrupts for the TOP0 HSP instance, and finally the TCU node itself. Also mark the HSP instances as compatible to tegra194-hsp,

Re: [PATCH v2 1/2] kasan: free allocated shadow memory on MEM_CANCEL_ONLINE

2018-05-22 Thread Andrey Ryabinin
On 05/22/2018 01:07 PM, David Hildenbrand wrote: > We have to free memory again when we cancel onlining, otherwise a later > onlining attempt will fail. > > Signed-off-by: David Hildenbrand > --- Fixes: fa69b5989bb0 ("mm/kasan: add support for memory hotplug") Acked-by: Andrey Ryabinin Cc:

Re: [PATCH v2 2/2] kasan: fix memory hotplug during boot

2018-05-22 Thread Andrey Ryabinin
On 05/22/2018 01:07 PM, David Hildenbrand wrote: > Using module_init() is wrong. E.g. ACPI adds and onlines memory before > our memory notifier gets registered. > > This makes sure that ACPI memory detected during boot up will not > result in a kernel crash. > > Easily reproducable with QEMU, j

Re: [PATCH v6 2/5] fs: Convert kiocb rw_hint from enum to u16

2018-05-22 Thread Goldwyn Rodrigues
On 05/22/2018 10:32 AM, Jens Axboe wrote: > On 5/22/18 9:07 AM, adam.manzana...@wdc.com wrote: >> From: Adam Manzanares >> >> In order to avoid kiocb bloat for per command iopriority support, rw_hint >> is converted from enum to a u16. Added a guard around ki_hint assignment. >> >> Signed-off-by

Re: [PATCH v10 12/16] vb2: add in-fence support to QBUF

2018-05-22 Thread Ezequiel Garcia
On Tue, 2018-05-22 at 14:37 +0200, Hans Verkuil wrote: > On 21/05/18 18:59, Ezequiel Garcia wrote: > > From: Gustavo Padovan > > > > Receive in-fence from userspace and add support for waiting on them > > before queueing the buffer to the driver. Buffers can't be queued to the > > driver before i

Re: [PATCH 5/8] mailbox: tegra-hsp: Add support for shared mailboxes

2018-05-22 Thread Jon Hunter
On 08/05/18 12:44, Mikko Perttunen wrote: The Tegra HSP block supports 'shared mailboxes' that are simple 32-bit registers consisting of a FULL bit in MSB position and 31 bits of data. The hardware can be configured to trigger interrupts when a mailbox is empty or full. Add support for these sha

Re: [PATCH] block: kyber: make kyber more friendly with merging

2018-05-22 Thread Jens Axboe
On 5/22/18 10:17 AM, Holger Hoffstätte wrote: > On 05/22/18 16:48, Jianchao Wang wrote: >> Currently, kyber is very unfriendly with merging. kyber depends >> on ctx rq_list to do merging, however, most of time, it will not >> leave any requests in ctx rq_list. This is because even if tokens >> of o

[PATCH] media: dib0700: add code comment

2018-05-22 Thread Gustavo A. R. Silva
Add FIXME code comment: /* FIXME: check if it is fe_adap[1] */ It is likely that it should be adap->fe_adap[1].fe in the second clause, but this has never been verified. Suggested-by: Mauro Carvalho Chehab Signed-off-by: Gustavo A. R. Silva --- drivers/media/usb/dvb-usb/dib0700_devices.c | 1 +

Re: [PATCH] mm: Add new vma flag VM_LOCAL_CPU

2018-05-22 Thread Dave Hansen
On 05/22/2018 09:05 AM, Boaz Harrosh wrote: > How can we implement "Private memory"? Per-cpu page tables would do it.

[PATCH][V2] net: vxge: fix spelling mistake in macro VXGE_HW_ERR_PRIVILAGED_OPEARATION

2018-05-22 Thread Colin King
From: Colin Ian King Rename VXGE_HW_ERR_PRIVILAGED_OPEARATION to VXGE_HW_ERR_PRIVILEGED_OPERATION to fix spelling mistake. Signed-off-by: Colin Ian King --- V2: PRIVILAGED -> PRIVILEGED, thanks to Edward Cree for spotting that mistake --- drivers/net/ethernet/neterion/vxge/vxge-config.c | 12

Re: [PATCH v4 1/2] xen/PVH: Set up GS segment for stack canary

2018-05-22 Thread Boris Ostrovsky
On 05/22/2018 12:10 PM, Jan Beulich wrote: On 22.05.18 at 17:15, wrote: >> On Tue, May 22, 2018 at 9:57 AM, Jan Beulich wrote: >> On 22.05.18 at 15:45, wrote: On Mon, May 21, 2018 at 11:54 PM, Boris Ostrovsky wrote: > @@ -98,6 +101,12 @@ ENTRY(pvh_start_xen) >

Re: [PATCH v5 1/8] dt-bindings: reset: Add AOSS reset bindings for SDM845 SoCs

2018-05-22 Thread Rob Herring
On Mon, May 21, 2018 at 10:57:07PM +0530, Sibi Sankar wrote: > Add SDM845 AOSS (always on subsystem) reset controller binding > > Signed-off-by: Sibi Sankar > --- > .../bindings/reset/qcom,aoss-reset.txt| 52 +++ > include/dt-bindings/reset/qcom,sdm845-aoss.h | 17 ++

Re: [PATCH 1/2] power: supply: Add fwnode pointer to power_supply_config struct

2018-05-22 Thread Sebastian Reichel
Hi, On Tue, May 22, 2018 at 04:16:23PM +0100, Adam Thomson wrote: > To allow users of the power supply framework to be hw description > agnostic, this commit adds the ability to pass a fwnode pointer, > via the power_supply_config structure, to the initialisation code > of the core, instead of exp

Re: [PATCH 18/33] power: supply: use match_string() helper

2018-05-22 Thread Sebastian Reichel
Hi Andy, On Tue, May 22, 2018 at 12:58:14AM +0300, Andy Shevchenko wrote: > On Mon, May 21, 2018 at 2:57 PM, Yisheng Xie wrote: > > match_string() returns the index of an array for a matching string, > > which can be used intead of open coded variant. > > > > This doesn't make code looks better

Re: [RFC] perf: Allow fine-grained PMU access control

2018-05-22 Thread Tvrtko Ursulin
On 22/05/2018 13:32, Peter Zijlstra wrote: On Tue, May 22, 2018 at 10:29:29AM +0100, Tvrtko Ursulin wrote: On 22/05/18 10:05, Peter Zijlstra wrote: On Mon, May 21, 2018 at 10:25:49AM +0100, Tvrtko Ursulin wrote: From: Tvrtko Ursulin For situations where sysadmins might want to allow differ

RE: Sometimes unusable i2c-hid devices in 4.17-rcX

2018-05-22 Thread Mario.Limonciello
Benjamin, > -Original Message- > From: Benjamin Tissoires [mailto:benjamin.tissoi...@gmail.com] > Sent: Friday, May 18, 2018 1:18 PM > To: Limonciello, Mario > Cc: linux-input; linux-kernel@vger.kernel.org > Subject: Re: Sometimes unusable i2c-hid devices in 4.17-rcX > > On Thu, May 17, 2

Re: [PATCH v4 1/2] xen/PVH: Set up GS segment for stack canary

2018-05-22 Thread Jan Beulich
>>> On 22.05.18 at 17:15, wrote: > On Tue, May 22, 2018 at 9:57 AM, Jan Beulich wrote: > On 22.05.18 at 15:45, wrote: >>> On Mon, May 21, 2018 at 11:54 PM, Boris Ostrovsky >>> wrote: @@ -98,6 +101,12 @@ ENTRY(pvh_start_xen) /* 64-bit entry point. */ .code64 >

Re: [PATCH v3] usbip: vhci_sysfs: fix potential Spectre v1

2018-05-22 Thread Gustavo A. R. Silva
On 05/22/2018 10:56 AM, Shuah Khan wrote: On 05/18/2018 07:13 PM, Gustavo A. R. Silva wrote: pdev_nr and rhport can be controlled by user-space, hence leading to a potential exploitation of the Spectre variant 1 vulnerability. This issue was detected with the help of Smatch: drivers/usb/usbip

Re: [PATCH] tc-testing: flush gact actions on test teardown

2018-05-22 Thread Shuah Khan
On 05/22/2018 09:49 AM, David Miller wrote: > From: Shuah Khan > Date: Tue, 22 May 2018 09:43:28 -0600 > >> On 05/18/2018 10:21 AM, Vlad Buslov wrote: >>> Test 6fb4 creates one mirred and one pipe action, but only flushes mirred >>> on teardown. Leaking pipe action causes failures in other tests.

Re: [PATCH] drivers/perf: Remove ARM_SPE_PMU explicit PERF_EVENTS dependency

2018-05-22 Thread Mark Rutland
On Tue, May 22, 2018 at 11:54:04PM +0800, John Garry wrote: > Since commit bddb9b68d3fb ("drivers/perf: commonise PERF_EVENTS > dependency"), all perf drivers depend on PERF_EVENTS config under a > common menu. > > Config ARM_SPE_PMU still declares explicitly a dependency on > PERF_EVENTS, which i

Re: [PATCH v6 3/6] dt-bindings: clock: renesas,rzn1-clocks: document RZ/N1 clock driver

2018-05-22 Thread Rob Herring
On Tue, May 22, 2018 at 11:01:23AM +0100, Michel Pollet wrote: > The Renesas RZ/N1 Family (Part #R9A06G0xx) requires a driver > to provide the SoC clock infrastructure for Linux. > > This documents the driver bindings. > > Signed-off-by: Michel Pollet > --- > .../bindings/clock/renesas,rzn1-clo

Re: Tasks RCU vs Preempt RCU

2018-05-22 Thread Paul E. McKenney
On Tue, May 22, 2018 at 08:38:32AM -0400, Steven Rostedt wrote: > On Mon, 21 May 2018 21:54:14 -0700 > Joel Fernandes wrote: > > > > Yes, lets brain storm this if you like. One way I was thinking if we can > > manually check every CPU and see what state its in (usermode, kernel, idle > > etc) us

Re: [PATCH 2/2] typec: tcpm: Provide fwnode pointer as part of psy_cfg

2018-05-22 Thread Guenter Roeck
On Tue, May 22, 2018 at 04:16:24PM +0100, Adam Thomson wrote: > For supply registration, provide fwnode pointer of the port device, > via the power_supply_config structure, to allow other psy drivers > to add us as a supplier. At present this only applies to DT > based platforms using the 'power-su

[PATCH v3 1/3] powerpc/lib: move PPC32 specific functions out of string.S

2018-05-22 Thread Christophe Leroy
In preparation of optimisation patches, move PPC32 specific memcmp() and __clear_user() into string_32.S Signed-off-by: Christophe Leroy --- arch/powerpc/lib/Makefile| 5 +-- arch/powerpc/lib/string.S| 61 - arch/powerpc/lib/string_32.S | 72 +

[PATCH v3 0/3] powerpc/lib: Optimisation of string functions for PPC32 - part 1

2018-05-22 Thread Christophe Leroy
This serie intends to optimise string functions for PPC32 in the same spirit as already done on PPC64. The first patch moves PPC32 specific functions from string.S into a dedicated file named string_32.S The second patch rewrites __clear_user() by using dcbz intruction The third patch rewrites mem

[PATCH v3 2/3] powerpc/lib: optimise 32 bits __clear_user()

2018-05-22 Thread Christophe Leroy
Rewrite clear_user() on the same principle as memset(0), making use of dcbz to clear complete cache lines. This code is a copy/paste of memset(), with some modifications in order to retrieve remaining number of bytes to be cleared, as it needs to be returned in case of error. On a MPC885, through

Re: [PATCH] usbip: dynamically allocate idev by nports found in sysfs

2018-05-22 Thread Shuah Khan
Hi Michael, Thanks for the patch. Couple of comments below: On 05/18/2018 08:39 AM, Michael Grzeschik wrote: > As the amount of available ports varies by the kernels build > configuration. To remove the limitation of the fixed 128 ports > we allocate the amount of idevs by using the number we get

[PATCH v3 3/3] powerpc/lib: optimise PPC32 memcmp

2018-05-22 Thread Christophe Leroy
At the time being, memcmp() compares two chunks of memory byte per byte. This patch optimises the comparison by comparing word by word. A small benchmark performed on an 8xx comparing two chuncks of 512 bytes performed 10 times gives: Before : 5852274 TB ticks After: 1488638 TB ticks This

Re: [PATCH] mm: Add new vma flag VM_LOCAL_CPU

2018-05-22 Thread Boaz Harrosh
On 18/05/18 17:14, Christopher Lameter wrote: > On Tue, 15 May 2018, Boaz Harrosh wrote: > >>> I don't think page tables work the way you think they work. >>> >>> + err = vm_insert_pfn_prot(zt->vma, zt_addr, pfn, prot); >>> >>> That doesn't just insert it into the local CPU's page ta

Re: [PATCH v3 1/6] x86/stacktrace: do not unwind after user regs

2018-05-22 Thread Josh Poimboeuf
On Sat, May 19, 2018 at 09:42:51AM +0200, Ingo Molnar wrote: > > * Josh Poimboeuf wrote: > > > On Fri, May 18, 2018 at 08:55:47AM +0200, Ingo Molnar wrote: > > > > > > * Jiri Slaby wrote: > > > > > > > Josh pointed out, that there is no way a frame can be after user regs. > > > > So remove th

Re: RCU branching for the v4.19 merge window

2018-05-22 Thread Paul E. McKenney
On Tue, May 22, 2018 at 11:27:36AM -0400, Steven Rostedt wrote: > On Thu, 17 May 2018 07:40:44 -0700 > "Paul E. McKenney" wrote: > > > Hello, Steve! > > > > Another year, another difficult-to-branch set of RCU commits. > > > > In happy contrast to last year, I can make some branches (SRCU, some

[PATCH v10 00/18] KVM: arm64: Optimise FPSIMD context switching

2018-05-22 Thread Dave Martin
Note: Most of these patches are Arm-specific. People not Cc'd on the whole series can find it in the linux-arm-kernel archive [2]. This series aims to improve the way FPSIMD context is handled by KVM. Changes since the previous v9 [1] are mostly minor, but there are some fixes worthy of closer at

Re: [PATCH v6 2/6] dt-bindings: Add the rzn1-clocks.h file

2018-05-22 Thread Rob Herring
On Tue, May 22, 2018 at 11:01:22AM +0100, Michel Pollet wrote: > This adds the constants necessary to use the renesas,rzn1-clocks driver. > > Signed-off-by: Michel Pollet > --- > include/dt-bindings/clock/rzn1-clocks.h | 187 > > 1 file changed, 187 insertions(+

Re: [PATCH v6 2/5] Documentation: dt-bindings: phy: add phy_config for Rockchip USB Type-C PHY

2018-05-22 Thread Rob Herring
On Mon, May 21, 2018 at 05:37:01PM +0800, Lin Huang wrote: > If want to do training outside DP Firmware, need phy voltage swing > and pre_emphasis value. > > Signed-off-by: Lin Huang > --- > Changes in v2: > - None > Changes in v3: > - modify property description and add this property to Example

Re: [PATCH v3] usbip: vhci_sysfs: fix potential Spectre v1

2018-05-22 Thread Shuah Khan
On 05/18/2018 07:13 PM, Gustavo A. R. Silva wrote: > pdev_nr and rhport can be controlled by user-space, hence leading to > a potential exploitation of the Spectre variant 1 vulnerability. > > This issue was detected with the help of Smatch: > drivers/usb/usbip/vhci_sysfs.c:238 detach_store() warn

Re: [PATCH v5 5/8] dt-bindings: remoteproc: Add Q6v5 Modem PIL binding for SDM845

2018-05-22 Thread Rob Herring
On Mon, May 21, 2018 at 10:57:11PM +0530, Sibi Sankar wrote: > Add new compatible string for Qualcomm SDM845 SoCs > > Signed-off-by: Sibi Sankar > --- > Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt | 1 + > 1 file changed, 1 insertion(+) Please add acks/reviewed-bys when posting n

Re: [PATCH v9 11/15] dt-bindings: cpufreq: Document operating-points-v2-kryo-cpu

2018-05-22 Thread Rob Herring
On Mon, May 21, 2018 at 02:25:28PM +0300, Ilia Lin wrote: > The qcom-cpufreq-kryo driver reads the msm-id and efuse value from the SoC > to provide the OPP framework with required information. > This is used to determine the voltage and frequency value for each OPP of > operating-points-v2 table wh

[PATCH] drivers/perf: Remove ARM_SPE_PMU explicit PERF_EVENTS dependency

2018-05-22 Thread John Garry
Since commit bddb9b68d3fb ("drivers/perf: commonise PERF_EVENTS dependency"), all perf drivers depend on PERF_EVENTS config under a common menu. Config ARM_SPE_PMU still declares explicitly a dependency on PERF_EVENTS, which is unneeded, so remove it. Signed-off-by: John Garry diff --git a/driv

Re: [PATCH v3 0/4] kconfig: refactor package checks for GUI frontends

2018-05-22 Thread Sam Ravnborg
Hi Masahiro. On Tue, May 22, 2018 at 04:22:17PM +0900, Masahiro Yamada wrote: > > Kconfig supports 4 GUI frontends. > Each of them needs some support packages, but checks them differently: > > qconf, gconf: check packages in Makefile (pkg-config is required) > mconf: lxdialog/check-lxdialog.

Re: [PATCH v10 11/16] vb2: add explicit fence user API

2018-05-22 Thread Ezequiel Garcia
On Tue, 2018-05-22 at 14:05 +0200, Hans Verkuil wrote: > On 21/05/18 18:59, Ezequiel Garcia wrote: > > From: Gustavo Padovan > > > > Turn the reserved2 field into fence_fd that we will use to send > > an in-fence to the kernel or return an out-fence from the kernel to > > userspace. > > > > Two

Re: [PATCH v4 1/2] vfio/mdev: Check globally for duplicate devices

2018-05-22 Thread Alex Williamson
[Cc +GVT-g maintainers/lists] On Tue, 22 May 2018 10:13:46 +0200 Cornelia Huck wrote: > On Fri, 18 May 2018 13:10:25 -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 > > na

Re: [PATCH RT] sched: let softirq_count() return !0 if inside local_bh_disable()ed section

2018-05-22 Thread Steven Rostedt
On Thu, 17 May 2018 12:22:14 +0200 Sebastian Andrzej Siewior wrote: > I don't see a reason why softirq_count() shouldn't reflect the fact that > we are within a local_bh_disable() section. I *think* it was done > primary because in RT the softirq is slightly different (and > preemptible) and it b

Re: [PATCH 4/4] media: venus: add PIL support

2018-05-22 Thread Stanimir Varbanov
Hi, On 05/22/2018 04:02 PM, Stanimir Varbanov wrote: > Hi Vikash, > > On 05/17/2018 02:32 PM, Vikash Garodia wrote: >> This adds support to load the video firmware >> and bring ARM9 out of reset. This is useful >> for platforms which does not have trustzone >> to reset the ARM9. >> >> Signed-off-

Re: [PATCH v2 3/3] ARM: dts: stm32: Add ADC support to stm32mp157c

2018-05-22 Thread Fabrice Gasnier
On 05/07/2018 07:23 PM, Jonathan Cameron wrote: > On Wed, 2 May 2018 09:44:51 +0200 > Fabrice Gasnier wrote: > >> stm32mp157c has an ADC block with two physical ADCs. >> >> Signed-off-by: Fabrice Gasnier > The driver support is now queued up in the IIO tree and should > be in Linux next later th

Re: [PATCH] tc-testing: flush gact actions on test teardown

2018-05-22 Thread David Miller
From: Shuah Khan Date: Tue, 22 May 2018 09:43:28 -0600 > On 05/18/2018 10:21 AM, Vlad Buslov wrote: >> Test 6fb4 creates one mirred and one pipe action, but only flushes mirred >> on teardown. Leaking pipe action causes failures in other tests. >> >> Add additional teardown command to also flush

Re: [PATCH v2 4/5] kconfig: refactor ncurses package checks for building mconf

2018-05-22 Thread Sam Ravnborg
Hi Masahiro. > > Any chance that the ugly hack in check.sh could be ported over to use > > pkg-config? > > > Rather, I have been wondering if we could rip off the gettext stuff > entirely... I did a little research. update-po-conifg is broken in current kernel The part of the Makefile that impl

Re: [PATCH 10/14] arm64: ssbd: Add prctl interface for per-thread mitigation

2018-05-22 Thread Dominik Brodowski
On Tue, May 22, 2018 at 04:06:44PM +0100, Marc Zyngier wrote: > If running on a system that performs dynamic SSBD mitigation, allow > userspace to request the mitigation for itself. This is implemented > as a prctl call, allowing the mitigation to be enabled or disabled at > will for this particul

Re: [PATCH v2] packet: track ring entry use using a shadow ring to prevent RX ring overrun

2018-05-22 Thread Willem de Bruijn
On Tue, May 22, 2018 at 10:12 AM, Jon Rosen (jrosen) wrote: > On Monday, May 21, 2018 2:17 PM, Jon Rosen (jrosen) wrote: >> On Monday, May 21, 2018 1:07 PM, Willem de Bruijn >> wrote: >>> On Mon, May 21, 2018 at 8:57 AM, Jon Rosen (jrosen) >>> wrote: > > ...snip... > >>> >>> A setsockopt for u

Re: [PATCH] KVM: Switch 'requests' to be 64-bit (explicitly)

2018-05-22 Thread Paolo Bonzini
On 22/05/2018 17:42, Raslan, KarimAllah wrote: > On Mon, 2018-04-16 at 18:28 +0200, Paolo Bonzini wrote: >> On 15/04/2018 00:26, KarimAllah Ahmed wrote: >>> >>> Switch 'requests' to be explicitly 64-bit and update BUILD_BUG_ON check to >>> use the size of "requests" instead of the hard-coded '32'.

[PATCH v3] ARM: dts: stm32: Add ADC support to stm32mp157c

2018-05-22 Thread Fabrice Gasnier
stm32mp157c has an ADC block with two physical ADCs. Signed-off-by: Fabrice Gasnier --- Changes in v3: - Add dmas since dmamux1 has been added on top of stm32-next --- arch/arm/boot/dts/stm32mp157c.dtsi | 36 1 file changed, 36 insertions(+) diff --git a/arc

Re: [PATCH] tc-testing: fix ip address in u32 test

2018-05-22 Thread Shuah Khan
On 05/18/2018 10:31 AM, Vlad Buslov wrote: > Fix expected ip address to actually match configured ip address. > Fix test to expect single matched filter. > > Signed-off-by: Vlad Buslov I can get this into 4.18-rc1 unless there is a reason for this to go through net tree. thanks, -- Shuah

Re: [PATCH] net: vxge: fix spelling mistake in macro VXGE_HW_ERR_PRIVILAGED_OPEARATION

2018-05-22 Thread Edward Cree
On 22/05/18 16:36, Colin King wrote: > From: Colin Ian King > > Rename VXGE_HW_ERR_PRIVILAGED_OPEARATION to VXGE_HW_ERR_PRIVILAGED_OPERATION > to fix spelling mistake. > > Signed-off-by: Colin Ian King "Privilaged" doesn't look right either, maybe fix both at once?  -> VXGE_HW_PRIVILEGED_OPERATIO

Re: [PATCH] tc-testing: flush gact actions on test teardown

2018-05-22 Thread Shuah Khan
On 05/18/2018 10:21 AM, Vlad Buslov wrote: > Test 6fb4 creates one mirred and one pipe action, but only flushes mirred > on teardown. Leaking pipe action causes failures in other tests. > > Add additional teardown command to also flush gact actions. > > Signed-off-by: Vlad Buslov > --- > tools/

Re: [PATCH v6 2/5] fs: Convert kiocb rw_hint from enum to u16

2018-05-22 Thread Adam Manzanares
On 5/22/18 8:32 AM, Jens Axboe wrote: > On 5/22/18 9:07 AM, adam.manzana...@wdc.com wrote: >> From: Adam Manzanares >> >> In order to avoid kiocb bloat for per command iopriority support, rw_hint >> is converted from enum to a u16. Added a guard around ki_hint assignment. >> >> Signed-off-by: Ad

Re: [PATCH v2 00/12] KVM/X86: Introduce a new guest mapping interface

2018-05-22 Thread Raslan, KarimAllah
On Tue, 2018-05-15 at 12:06 -0400, Konrad Rzeszutek Wilk wrote: > On Mon, Apr 16, 2018 at 02:27:13PM +0200, Paolo Bonzini wrote: > > > > On 16/04/2018 14:09, Raslan, KarimAllah wrote: > > > > > > > > > > > I assume the caching will also be a separate patch. > > > Yup, do you want me to include i

[PATCH][V2] net/mlx4: fix spelling mistake: "Inrerface" -> "Interface" and rephrase message

2018-05-22 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in mlx4_dbg debug message and also change the phrasing of the message so that is is more readable Signed-off-by: Colin Ian King --- V2: rephrase message, as helpfully suggested by Tariq Toukan --- drivers/net/ethernet/mellanox/mlx4/intf.c |

Re: [PATCH] KVM: Switch 'requests' to be 64-bit (explicitly)

2018-05-22 Thread Raslan, KarimAllah
On Mon, 2018-04-16 at 18:28 +0200, Paolo Bonzini wrote: > On 15/04/2018 00:26, KarimAllah Ahmed wrote: > > > > Switch 'requests' to be explicitly 64-bit and update BUILD_BUG_ON check to > > use the size of "requests" instead of the hard-coded '32'. > > > > That gives us a bit more room again for

Re: [PATCH v2] packet: track ring entry use using a shadow ring to prevent RX ring overrun

2018-05-22 Thread Willem de Bruijn
>>> I think the bigger issues as you've pointed out are the cost of >>> the additional spin lock and should the additional state be >>> stored in-band (fewer cache lines) or out-of band (less risk of >>> breaking due to unpredictable application behavior). >> >> We don't need the spinlock if cleari

Re: [PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-05-22 Thread Cornelia Huck
On Fri, 4 May 2018 13:02:36 +0200 Pierre Morel wrote: > On 04/05/2018 03:19, Dong Jia Shi wrote: > > * Pierre Morel [2018-05-03 16:26:29 +0200]: > > > >> On 02/05/2018 09:46, Dong Jia Shi wrote: > >>> * Cornelia Huck [2018-04-30 17:33:05 +0200]: > >>> > On Thu, 26 Apr 2018 15:48:06 +

Re: [PATCH 04/10] vfio: ccw: replace IO_REQ event with SSCH_REQ event

2018-05-22 Thread Cornelia Huck
[still backlog processing...] On Thu, 3 May 2018 14:06:51 +0200 Pierre Morel wrote: > On 30/04/2018 17:30, Cornelia Huck wrote: > > On Wed, 25 Apr 2018 15:52:19 +0200 > > Pierre Morel wrote: > > > >> On 25/04/2018 10:41, Cornelia Huck wrote: > >>> On Thu, 19 Apr 2018 16:48:07 +0200 > >>> Pi

Re: [PATCH v3 4/4] kconfig: refactor ncurses package checks for building mconf and nconf

2018-05-22 Thread Randy Dunlap
On 05/22/2018 12:22 AM, Masahiro Yamada wrote: > The mconf (or its infrastructure, lxdiaglog) depends on the ncurses. > Move and rename check-lxdialog.sh to mconf-cfg.sh to make it work in > the same way as for qconf and gconf. > > This commit fixes some more weirdnesses. > > The nconf also needs

Re: [PATCH 4/8] mailbox: tegra-hsp: Refactor in preparation of mailboxes

2018-05-22 Thread Jon Hunter
On 08/05/18 12:43, Mikko Perttunen wrote: The HSP driver is currently in many places written with the assumption of only supporting doorbells. Prepare for the addition of shared mailbox support by removing these assumptions and cleaning up the code. Signed-off-by: Mikko Perttunen --- drivers

[PATCH] net: vxge: fix spelling mistake in macro VXGE_HW_ERR_PRIVILAGED_OPEARATION

2018-05-22 Thread Colin King
From: Colin Ian King Rename VXGE_HW_ERR_PRIVILAGED_OPEARATION to VXGE_HW_ERR_PRIVILAGED_OPERATION to fix spelling mistake. Signed-off-by: Colin Ian King --- drivers/net/ethernet/neterion/vxge/vxge-config.c | 12 ++-- drivers/net/ethernet/neterion/vxge/vxge-config.h | 2 +- drivers/n

Re: [PATCH] kselftest/cgroup: fix variable dereferenced before check warning

2018-05-22 Thread Shuah Khan
On 05/22/2018 04:10 AM, Roman Gushchin wrote: > cg_name(const char *root, const char *name) is always called with > non-empty root and name arguments, so there is no sense in checking > it in the function body (after using in strlen()). > > Signed-off-by: Roman Gushchin > Reported-by: Dan Carpent

Re: [PATCH v6 1/2] acpi: apei: Rename ghes_severity() to ghes_cper_severity()

2018-05-22 Thread Borislav Petkov
On Tue, May 22, 2018 at 10:22:19AM -0500, Alex G. wrote: > I especially don't want a kernel maintainer who hasn't even read the > recovery handler (let alone the spec around which the handler was > written) tell me how the recovery handler works and what it's supposed > to do (see, I can be an ass)

Re: [PATCH v2] selftests: cgroup/memcontrol: add basic test for socket accounting

2018-05-22 Thread Shuah Khan
Hi Mike, On 05/17/2018 07:05 AM, Mike Rapoport wrote: > Signed-off-by: Mike Rapoport > Acked-by: Roman Gushchin > --- You are missing the commit log. Please add the commit log and resend. -- Shuah

Re: rtc: fix chardev initialization races

2018-05-22 Thread Jiri Kosina
On Tue, 22 May 2018, Uwe Kleine-König wrote: > [adding linux-rtc ML and Alexandre to Cc:] > > Hello, > > On Tue, May 22, 2018 at 02:09:36PM +0200, Jiri Kosina wrote: > > On Mon, 21 May 2018, Uwe Kleine-König wrote: > > > > > > The race looks like that (thanks Jiri): > > > > > > > > CPU0:

Re: [PATCH v3] mlx4_core: allocate ICM memory in page size chunks

2018-05-22 Thread Tariq Toukan
On 18/05/2018 12:45 AM, Qing Huang wrote: On 5/17/2018 2:14 PM, Eric Dumazet wrote: On 05/17/2018 01:53 PM, Qing Huang wrote: When a system is under memory presure (high usage with fragments), the original 256KB ICM chunk allocations will likely trigger kernel memory management to enter slo

Re: [PATCH v5 0/3] enable early printing of hashed pointers

2018-05-22 Thread Steven Rostedt
[ Steve is back from vacation ] On Thu, 17 May 2018 08:41:58 +1000 "Tobin C. Harding" wrote: > On Wed, May 16, 2018 at 11:13:48AM -0400, Steven Rostedt wrote: > > > > I think the series looks good, although if Linus takes my last patch, > > it may conflict badly with the third patch. I'll have

Re: [PATCH v6 2/5] fs: Convert kiocb rw_hint from enum to u16

2018-05-22 Thread Jens Axboe
On 5/22/18 9:07 AM, adam.manzana...@wdc.com wrote: > From: Adam Manzanares > > In order to avoid kiocb bloat for per command iopriority support, rw_hint > is converted from enum to a u16. Added a guard around ki_hint assignment. > > Signed-off-by: Adam Manzanares > Reviewed-by: Christoph Hellwi

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

2018-05-22 Thread Rafael J. Wysocki
On Tue, May 22, 2018 at 12:02 PM, Rafael J. Wysocki wrote: > On Mon, May 21, 2018 at 6:13 PM, Joel Fernandes > wrote: >> On Mon, May 21, 2018 at 10:29:52AM +0200, Rafael J. Wysocki wrote: >>> On Mon, May 21, 2018 at 7:14 AM, Viresh Kumar >>> wrote: >>> > On 18-05-18, 11:55, Joel Fernandes (Goo

Re: [PATCH 05/14] arm64: Add 'ssbd' command-line option

2018-05-22 Thread Randy Dunlap
On 05/22/2018 08:06 AM, Marc Zyngier wrote: > On a system where the firmware implements ARCH_WORKAROUND_2, > it may be useful to either permanently enable or disable the > workaround for cases where the user decides that they'd rather > not get a trap overhead, and keep the mitigation permanently >

Re: RCU branching for the v4.19 merge window

2018-05-22 Thread Steven Rostedt
On Thu, 17 May 2018 07:40:44 -0700 "Paul E. McKenney" wrote: > Hello, Steve! > > Another year, another difficult-to-branch set of RCU commits. > > In happy contrast to last year, I can make some branches (SRCU, some > of the torture commits, and a few miscellaneous commits), but I will > likely

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

2018-05-22 Thread Rafael J. Wysocki
On Tue, May 22, 2018 at 2:22 PM, Rafael J. Wysocki wrote: > On Tuesday, May 22, 2018 1:42:05 PM CEST Rafael J. Wysocki wrote: >> On Tue, May 22, 2018 at 1:38 PM, Viresh Kumar >> wrote: >> > On 22-05-18, 13:31, Rafael J. Wysocki wrote: >> >> So below is my (compiled-only) version of the $subject

Re: [PATCH] net/mlx4: fix spelling mistake: "Inrerface" -> "Interface"

2018-05-22 Thread Tariq Toukan
On 22/05/2018 6:23 PM, Colin Ian King wrote: On 22/05/18 16:21, Tariq Toukan wrote: On 22/05/2018 11:37 AM, Colin King wrote: From: Colin Ian King Trivial fix to spelling mistake in mlx4_dbg debug message Signed-off-by: Colin Ian King ---   drivers/net/ethernet/mellanox/mlx4/intf.c | 2

Re: [PATCH] net/mlx4: fix spelling mistake: "Inrerface" -> "Interface"

2018-05-22 Thread Colin Ian King
On 22/05/18 16:21, Tariq Toukan wrote: > > > On 22/05/2018 11:37 AM, Colin King wrote: >> From: Colin Ian King >> >> Trivial fix to spelling mistake in mlx4_dbg debug message >> >> Signed-off-by: Colin Ian King >> --- >>   drivers/net/ethernet/mellanox/mlx4/intf.c | 2 +- >>   1 file changed, 1

Re: [PATCH v6 1/2] acpi: apei: Rename ghes_severity() to ghes_cper_severity()

2018-05-22 Thread Alex G.
On 05/22/2018 09:54 AM, Borislav Petkov wrote: > On Tue, May 22, 2018 at 09:39:15AM -0500, Alex G. wrote: >> No, the problem is with the current approach, not with mine. The problem >> is trying to handle the error outside of the existing handler. That's a >> no-no, IMO. > > Let me save you some

Re: [PATCH] net/mlx4: fix spelling mistake: "Inrerface" -> "Interface"

2018-05-22 Thread Tariq Toukan
On 22/05/2018 11:37 AM, Colin King wrote: From: Colin Ian King Trivial fix to spelling mistake in mlx4_dbg debug message Signed-off-by: Colin Ian King --- drivers/net/ethernet/mellanox/mlx4/intf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/me

Re: [PATCH] PCI / PM: Clean up outdated comments in pci_target_state()

2018-05-22 Thread Rafael J. Wysocki
On Tue, May 22, 2018 at 3:06 PM, Bjorn Helgaas wrote: > On Mon, May 21, 2018 at 01:11:12PM +0200, Rafael J. Wysocki wrote: >> From: Rafael J. Wysocki >> >> Two comments in pci_target_state() are outdated, as the function >> doesn't set the target power state for the device any more, only >> finds

Re: [PATCH] perf annotate: Show group event string for stdio

2018-05-22 Thread Arnaldo Carvalho de Melo
Em Tue, May 22, 2018 at 07:38:35PM +0800, Jin Yao escreveu: > When we enable the group, for tui/stdio2, the output first > line includes the group event string. While for stdio, > it will show only one event. Thanks, applied. - Arnaldo

Re: [PATCH v6 2/2] acpi: apei: Do not panic() on PCIe errors reported through GHES

2018-05-22 Thread Alex G.
On 05/22/2018 10:15 AM, Tyler Baicar wrote: > On 5/22/2018 10:32 AM, Alex G. wrote: >> I think the biggest problem is having a policy to panic on "fatal" >> errors, instead of letting the error handler make that decision. I'd >> much rather kill that stupid policy, but people seem to like it for

mmc filesystem performance decreased on the first write after filesystem creation

2018-05-22 Thread Faiz Abbas
Hi, I am debugging a performance reduction in ext2 filesystems on an mmc device in TI's am335x evm board. I see that the performance is reduced on the first write after making a new filesystem using mkfs.ext2 on one of the mmc partitions. The performance comes back to normal after the first write

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