Re: Regression in next with filesystem context concept

2018-09-10 Thread Tony Lindgren
* Guenter Roeck [180910 18:35]: > On Mon, Sep 10, 2018 at 09:08:36AM -0700, Tony Lindgren wrote: > > OK thanks for tracking that down, next-20180910 boots again > > for me. > > > > Did you try to shutdown and/or reboot ? > > You might see something like the att

RE: [PATCH v11 08/11] firmware: xilinx: Add debugfs for query data API

2018-09-10 Thread Jolly Shah
Hi Olof, > -Original Message- > From: Olof Johansson [mailto:o...@lixom.net] > Sent: Saturday, September 08, 2018 6:15 PM > To: Jolly Shah > Cc: ard.biesheu...@linaro.org; Ingo Molnar ; Greg Kroah- > Hartman ; m...@codeblueprint.co.uk; Sudeep > Holla ; hkallwe...@gmail.com; Kees Cook > ;

RE: [PATCH v11 03/11] firmware: xilinx: Add zynqmp IOCTL API for device control

2018-09-10 Thread Jolly Shah
Hi All, Adding more clarification on top of what Michal said: Here ioctl is not a system ioctl and just a eemi API like other interface APIs. It cannot be called from userspace. Only Linux drivers can use this API for defined ioctl operations. This API is meant for any platform specific operati

RE: [PATCH v5 1/2] x86/speculation: apply IBPB more strictly to avoid cross-process data leak

2018-09-10 Thread Jiri Kosina
On Mon, 10 Sep 2018, Schaufler, Casey wrote: > Why are you dropping the LSM check here, when in v4 you fixed the > SELinux audit locking issue? We can avoid introducing an LSM hook > and all the baggage around it if you can do the security_ptrace_access_check() > here. So what guarantees that non

[PATCH v4 2/8] tracing: Split up onmatch action data

2018-09-10 Thread Tom Zanussi
From: Tom Zanussi Currently, the onmatch action data binds the onmatch action to data related to synthetic event generation. Since we want to allow the onmatch handler to potentially invoke a different action, and because we expect other handlers to generate synthetic events, we need to separate

[PATCH v4 4/8] tracing: Add conditional snapshot

2018-09-10 Thread Tom Zanussi
From: Tom Zanussi Currently, tracing snapshots are context-free - they capture the ring buffer contents at the time the tracing_snapshot() function was invoked, and nothing else. Additionally, they're always taken unconditionally - the calling code can decide whether or not to take a snapshot, b

[PATCH v4 1/8] tracing: Refactor hist trigger action code

2018-09-10 Thread Tom Zanussi
From: Tom Zanussi The hist trigger action code currently implements two essentially hard-coded pairs of 'actions' - onmax(), which tracks a variable and saves some event fields when a max is hit, and onmatch(), which is hard-coded to generate a synthetic event. These hardcoded pairs (track max/s

[PATCH v4 6/8] tracing: Add snapshot action

2018-09-10 Thread Tom Zanussi
From: Tom Zanussi Add support for hist:handlerXXX($var).snapshot(), which will take a snapshot of the current trace buffer whenever handlerXXX is hit. As a first user, this also adds snapshot() action support for the onmax() handler i.e. hist:onmax($var).snapshot(). Signed-off-by: Tom Zanussi

[PATCH v4 7/8] tracing: Add hist trigger onchange() handler

2018-09-10 Thread Tom Zanussi
From: Tom Zanussi Add support for a hist:onchange($var) handler, similar to the onmax() handler but triggering whenever there's any change in $var, not just a max. Signed-off-by: Tom Zanussi --- Documentation/trace/histogram.txt | 97 +++ kernel/trace/trace_

[PATCH v4 8/8] trace: Add alternative synthetic event trace action syntax

2018-09-10 Thread Tom Zanussi
From: Tom Zanussi Add a 'trace(synthetic_event_name, params)' alternative to synthetic_event_name(params). Currently, the syntax used for generating synthetic events is to invoke synthetic_event_name(params) i.e. use the synthetic event name as a function call. Users requested a new form that m

[PATCH v4 5/8] tracing: Move hist trigger key printing into a separate function

2018-09-10 Thread Tom Zanussi
From: Tom Zanussi Future patches will want to print a histogram key outside a histogram - add and use hist_trigger_print_key() for that purpose. Signed-off-by: Tom Zanussi --- kernel/trace/trace_events_hist.c | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --gi

[PATCH v4 3/8] tracing: Generalize hist trigger onmax and save action

2018-09-10 Thread Tom Zanussi
From: Tom Zanussi The action refactor code allowed actions and handlers to be separated, but the existing onmax handler and save action code is still not flexible enough to handle arbitrary coupling. This change generalizes them and in the process makes additional handlers and actions easier to

[PATCH v4 0/8] tracing: Hist trigger snapshot and onchange additions

2018-09-10 Thread Tom Zanussi
From: Tom Zanussi Hi, This is v4 of the hist trigger snapshot and onchange additions patchset. It adds fixes to a couple problems noticed by Namhyung Kim, as well as one minor syntax addition ('trace' keyword for generating synthetic events) also suggested by him. v3->v4 changes: - added 't

Re: [PATCH v6 1/2] dt-bindings: leds: Add bindings for lm3697 driver

2018-09-10 Thread Jacek Anaszewski
Dan, Pavel, On 09/10/2018 04:37 PM, Dan Murphy wrote: > Jacek > > On 09/08/2018 02:53 PM, Jacek Anaszewski wrote: >> Dan, >> >> On 09/07/2018 03:52 PM, Dan Murphy wrote: >> [...] > And I think Jacek pointed out that the bindings references in this > bindings > don't even exist.

Re: [PATCH v3 2/2] PM / devfreq: Add devfreq driver for interconnect bandwidth voting

2018-09-10 Thread Sibi Sankar
Hi Georgi, This driver uses of_icc_get which is very likely to fail if it probes before the interconnect provider. Would it be possible for icc_get to return/differentiate both -EPROBE_DEFER and other errors to prevent the driver to continually probe defer if the path doesn't actually exist or ju

Re: [LKP] [tty] 0b4f83d510: INFO:task_blocked_for_more_than#seconds

2018-09-10 Thread Dmitry Safonov
Hi Sergey, Jiri, On Mon, 2018-09-10 at 14:14 +0900, Sergey Senozhatsky wrote: > On (09/07/18 08:39), Jiri Slaby wrote: > > > [ 244.944070] > > > [ 244.944070] Showing all locks held in the system: > > > [ 244.945558] 1 lock held by khungtaskd/18: > > > [ 244.946495] #0: (ptrval) (rcu

Re: [PATCH] arm64: dts: meson-axg-s400: Add chosen and memory nodes

2018-09-10 Thread Martin Blumenstingl
On Mon, Sep 10, 2018 at 8:33 PM Neil Armstrong wrote: > > Add missing chosen and memory nodes. > > Signed-off-by: Neil Armstrong out of curiosity: - does the bootloader add the memory node (meaning that this is just a cosmetic bit)? - setting stdout-path is always a good idea, without it you can'

Re: [PATCH v6 2/2] tpm: add support for nonblocking operation

2018-09-10 Thread Jarkko Sakkinen
On Mon, Sep 10, 2018 at 10:18:33AM -0700, Tadeusz Struk wrote: > Currently the TPM driver only supports blocking calls, which doesn't allow > asynchronous IO operations to the TPM hardware. > This patch changes it and adds support for nonblocking write and a new poll > function to enable applicatio

Re: [PATCH v3 1/2] PM / devfreq: Generic CPU frequency to device frequency mapping governor

2018-09-10 Thread Sibi Sankar
Hi Saravana, On 2018-08-07 11:19, skan...@codeaurora.org wrote: On 2018-08-02 14:00, skan...@codeaurora.org wrote: On 2018-08-02 02:56, MyungJoo Ham wrote: Many CPU architectures have caches that can scale independent of the CPUs. Frequency scaling of the caches is necessary to make sure the c

Re: Regression in next with apps hanging with vm_fault_t

2018-09-10 Thread Souptick Joarder
On Mon, Sep 10, 2018 at 11:51 PM Tony Lindgren wrote: > > Hi, > > I'm seeing a regression with Linux next with commit 7b6ec2ae877a > ("fs: convert return type int to vm_fault_t") where apps can just > hang. > > The reproducable test case I have is to remove a distro package > and then add it back

Re: [PATCH] arm64: dts: meson-axg: use the proper compatible for ethmac

2018-09-10 Thread Martin Blumenstingl
On Mon, Sep 10, 2018 at 8:39 PM Neil Armstrong wrote: > > Use the correct compatible for the AXG ethernet mac node. > > Signed-off-by: Neil Armstrong I wonder if you should add a "Fixes" tag. apart from that: Acked-by: Martin Blumenstingl

Re: [PATCH v6 1/2] tpm: add ptr to the tpm_space struct to file_priv

2018-09-10 Thread Jarkko Sakkinen
On Mon, Sep 10, 2018 at 10:18:28AM -0700, Tadeusz Struk wrote: > Add a ptr to struct tpm_space to the file_priv and consolidate > of the write operations for the two interfaces. > > Tested-by: Philip Tricca > Signed-off-by: Tadeusz Struk Reviewed-by: Jarkko Sakkinen /Jarkko

[PATCH] arm64: dts: meson-axg: use the proper compatible for ethmac

2018-09-10 Thread Neil Armstrong
Use the correct compatible for the AXG ethernet mac node. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi inde

Re: [PATCH v13 11/13] platform/x86: Intel SGX driver

2018-09-10 Thread Jarkko Sakkinen
On Thu, Sep 06, 2018 at 05:50:01PM -0700, Joe Perches wrote: > On Thu, 2018-09-06 at 19:35 +0200, Miguel Ojeda wrote: > > > Which one is right and why the kernel tree is polluted with C99-headers > > > when they do not pass checkpatch.pl? > > checkpatch ignores c99 headers since 2016. For headers

[PATCH] arm64: dts: meson-axg-s400: Add chosen and memory nodes

2018-09-10 Thread Neil Armstrong
Add missing chosen and memory nodes. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index d399078..f0de8

Re: [PATCH v13 11/13] platform/x86: Intel SGX driver

2018-09-10 Thread Jarkko Sakkinen
On Thu, Sep 06, 2018 at 07:35:46PM +0200, Miguel Ojeda wrote: > Hi Jarkko, > > On Thu, Sep 6, 2018 at 11:21 AM, Jarkko Sakkinen > wrote: > > There is another open. If I grep through the kernel tree I see SPDX > > headers that are decorated both with C99- and C89-style comments. I > > guess I ende

Re: Regression in next with filesystem context concept

2018-09-10 Thread Guenter Roeck
ht not using any. > > > > The default return value for security_fs_context_parse_param() should be > > -ENOPARAM, both in security.h and security.c. > > > > I've fixed my tree and Al has pulled it, but we're now waiting on Stephen > > Rothwell to refresh linux

Re: [PATCH v3 2/2] remoteproc: qcom: Introduce Non-PAS ADSP PIL driver

2018-09-10 Thread Bjorn Andersson
On Mon 03 Sep 04:52 PDT 2018, Rohit kumar wrote: > This adds Non PAS ADSP PIL driver for Qualcomm > Technologies Inc SoCs. > Added initial support for SDM845 with ADSP bootup and > shutdown operation handled from Application Processor > SubSystem(APSS). > > Signed-off-by: Rohit kumar Thanks for

Re: [PATCH v2] ARM64: dts: meson-gxbb-wetek: add ttyAML1 uart for Bluetooth

2018-09-10 Thread Martin Blumenstingl
Hi Rob, On Fri, Sep 7, 2018 at 2:16 PM Christian Hewitt wrote: > > This change adds the uart_A used by the brmcfmac sdio module in the > WeTek Hub and WeTek Play 2 devices. meson_uart_probe seems to mandate > an alias (without it, BT is not working) so this is also included. > > Signed-off-by: Ch

Re: [PATCH v3 3/6] dt-bindings: remoteproc: qcom: Remove additional definition tag

2018-09-10 Thread Rob Herring
On Thu, 30 Aug 2018 00:42:12 +0530, Sibi Sankar wrote: > Remove the additional definition tag declared for WCSS sub-system > under reset-names. > > Reviewed-by: Matthias Kaehlcke > Signed-off-by: Sibi Sankar > --- > Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt | 4 ++-- > 1 file c

Re: [PATCH v3 1/2] dt-binding: remoteproc: Add QTI ADSP PIL bindings

2018-09-10 Thread Bjorn Andersson
On Mon 03 Sep 04:52 PDT 2018, Rohit kumar wrote: > Add devicetree bindings documentation file for Qualcomm > Technolgies Inc ADSP Peripheral Image Loader. > > Signed-off-by: Rohit kumar Rob, this revision looks good to me and I would like to move ahead and merge it. Regards, Bjorn > --- > ..

Re: [PATCH] ASoC: Fix UBSAN warning at snd_soc_get/put_volsw_sx()

2018-09-10 Thread Takashi Iwai
On Mon, 10 Sep 2018 19:33:56 +0200, Rohit kumar wrote: > > In functions snd_soc_get_volsw_sx() or snd_soc_put_volsw_sx(), > if the result of (min + max) is negative, then fls() returns > signed integer with value as 32. This leads to signed integer > overflow as complete operation is considered as

RE: [PATCH v5 1/2] x86/speculation: apply IBPB more strictly to avoid cross-process data leak

2018-09-10 Thread Schaufler, Casey
> -Original Message- > From: Jiri Kosina [mailto:ji...@kernel.org] > Sent: Monday, September 10, 2018 2:24 AM > To: Thomas Gleixner ; Ingo Molnar ; > Peter Zijlstra ; Josh Poimboeuf > ; Andrea Arcangeli ; > Woodhouse, David ; Andi Kleen ; > Tim Chen ; Schaufler, Casey > > Cc: linux-kernel@

Regression in next with apps hanging with vm_fault_t

2018-09-10 Thread Tony Lindgren
Hi, I'm seeing a regression with Linux next with commit 7b6ec2ae877a ("fs: convert return type int to vm_fault_t") where apps can just hang. The reproducable test case I have is to remove a distro package and then add it back where adding the package back just hangs and the package file seems cor

Re: [PATCH v5 3/7] dt-bindings: dmaengine: xilinx_dma: add optional xlnx,sg-length-width property

2018-09-10 Thread Rob Herring
On Fri, 7 Sep 2018 08:24:58 +0200, Andrea Merello wrote: > The width of the "length register" cannot be autodetected, and it is now > specified with a DT property. Add documentation for it. > > Cc: Rob Herring > Cc: Mark Rutland > Cc: devicet...@vger.kernel.org > Cc: Radhey Shyam Pandey > Sign

Re: [PATCH v6 05/16] perf/x86: Add Hygon Dhyana support to PMU infrastructure

2018-09-10 Thread Borislav Petkov
On Mon, Sep 10, 2018 at 09:16:43PM +0800, Pu Wen wrote: > The PMU architecture for Hygon Dhyana CPU is similar to the AMD Family > 17h one. To support Hygon Dhyana PMU, call amd_pmu_init() to share > AMD PMU initialization flow, and change the PMU name to "HYGON". > > The Hygon Dhyana CPU support

Re: possible deadlock in aio_poll

2018-09-10 Thread Miklos Szeredi
On Mon, Sep 10, 2018 at 6:53 PM, Christoph Hellwig wrote: > On Mon, Sep 10, 2018 at 12:41:05AM -0700, syzbot wrote: >> = >> WARNING: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected >> 4.19.0-rc2+ #229 Not tainted >> ---

Re: [PATCH] arm64: defconfig: enable EFI_ARMSTUB_DTB_LOADER

2018-09-10 Thread Ard Biesheuvel
On 10 September 2018 at 20:01, Olof Johansson wrote: > On Mon, Sep 10, 2018 at 10:53 AM, Scott Branden > wrote: >> Olof/All, >> >> >> On 18-09-04 03:13 AM, Grant Likely wrote: >>> >>> Hey folks. More comments below, but the short answer is I really don't >>> see what the problem is. Distros canno

Re: [PATCH v6 03/16] x86/cpu/mtrr: Support TOP_MEM2 and get MTRR number

2018-09-10 Thread Borislav Petkov
On Mon, Sep 10, 2018 at 09:16:03PM +0800, Pu Wen wrote: > The Hygon Dhyana CPU have a special magic MSR way to force WB for >From the last review round: Also, it is "The ... CPU has a special..." Please take your time and incorporate *all* review feedback - no need to *rush* a new revision out a

[PATCH 1/2] platform/x86: dell-smbios-wmi: Correct a memory leak

2018-09-10 Thread Mario Limonciello
ACPI buffers were being allocated but never freed. Reported-by: Pinzhen Xu Signed-off-by: Mario Limonciello Cc: sta...@vger.kernel.org --- drivers/platform/x86/dell-smbios-wmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/dell-smbios-wmi.c b/drivers/platform/x86/de

[PATCH 2/2] platform/x86: alienware-wmi: Correct a memory leak

2018-09-10 Thread Mario Limonciello
An ACPI buffer that was allocated was not being freed after use. Signed-off-by: Mario Limonciello Cc: sta...@vger.kernel.org --- drivers/platform/x86/alienware-wmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/alienware-wmi.c b/drivers/platform/x86/alienware-wmi.c i

Re: [PATCH] arm64: defconfig: enable EFI_ARMSTUB_DTB_LOADER

2018-09-10 Thread Olof Johansson
On Mon, Sep 10, 2018 at 10:53 AM, Scott Branden wrote: > Olof/All, > > > On 18-09-04 03:13 AM, Grant Likely wrote: >> >> Hey folks. More comments below, but the short answer is I really don't >> see what the problem is. Distros cannot easily support platforms that >> require a dtb= parameter, and

Re: [PATCH] iio: proximity: Add driver support for ST's VL53L0X ToF ranging sensor.

2018-09-10 Thread Himanshu Jha
On Mon, Sep 10, 2018 at 10:42:59PM +0800, Song Qiang wrote: > This driver was originally written by ST in 2016 as a misc input device, > and hasn't been maintained for a long time. I grabbed some code from > it's API and reformed it to a iio proximity device driver. > This version of driver uses i2

Re: [PATCH] IAD Register is yet readable trough iad sys file. Fix snprintf (%u for unsigned, count for max size).

2018-09-10 Thread Greg KH
On Mon, Sep 10, 2018 at 07:36:51PM +0200, Julien Folly wrote: > > Signed-off-by: Julien Folly > Acked-by: Evgeniy Polyakov > --- > drivers/w1/slaves/w1_ds2438.c | 66 > ++- > 1 file changed, 52 insertions(+), 14 deletions(-) Hi, This is the friendly pa

Re: [PATCH] arm64: defconfig: enable EFI_ARMSTUB_DTB_LOADER

2018-09-10 Thread Scott Branden
Olof/All, On 18-09-04 03:13 AM, Grant Likely wrote: Hey folks. More comments below, but the short answer is I really don't see what the problem is. Distros cannot easily support platforms that require a dtb= parameter, and so they probably won't. They may or may not disable 'dtb=', depending on

Applied "spi: spi-mem: Adjust op len based on message/transfer size limitations" to the spi tree

2018-09-10 Thread Mark Brown
The patch spi: spi-mem: Adjust op len based on message/transfer size limitations has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next

Re: [PATCH 2/4] dt-bindings: arm: rockchip: Add binding for Rock960 board

2018-09-10 Thread Heiko Stuebner
Am Montag, 10. September 2018, 19:26:55 CEST schrieb Manivannan Sadhasivam: > Hi Heiko, > > On Mon, Sep 10, 2018 at 07:22:26PM +0200, Heiko Stuebner wrote: > > Am Montag, 10. September 2018, 17:13:54 CEST schrieb Manivannan Sadhasivam: > > > Add devicetree binding for Rock960 board from Vamrs Limi

Applied "ASoC: pxa: switch to new ac97 bus support" to the asoc tree

2018-09-10 Thread Mark Brown
The patch ASoC: pxa: switch to new ac97 bus support has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Lin

Re: [PATCH v4 06/13] Compiler Attributes: naked can be shared

2018-09-10 Thread Stefan Agner
On 08.09.2018 14:24, Miguel Ojeda wrote: > The naked attribute is supported by at least gcc >= 4.6 (for ARM, > which is the only current user), gcc >= 8 (for x86), clang >= 3.1 > and icc >= 13. See https://godbolt.org/z/350Dyc > > Therefore, move it out of compiler-gcc.h so that the definition > i

Re: [PATCH v3 3/3] arm64: dts: qcom: sdm845-mtp: Add nodes for USB

2018-09-10 Thread Bjorn Andersson
On Wed 22 Aug 10:36 PDT 2018, Douglas Anderson wrote: > Set the various nodes to "okay" and hook up the regulators. > > NOTE: For now the main USB port (the one that goes out the Type C > connector) is forced to host. Eventually someone will need to get the > Type C detection hooked up and get t

Re: [PATCH v3 2/3] arm64: dts: qcom: sdm845-mtp: Add RPMh VRM/XOB regulators

2018-09-10 Thread Bjorn Andersson
On Wed 22 Aug 10:36 PDT 2018, Douglas Anderson wrote: > diff --git a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts > b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts [..] > + > + vdd_qusb_hs0: > + vdda_hp_pcie_core: > + vdda_mipi_csi0_0p9: > + vdda_mipi_csi1_0p9:

[PATCH] ARM: OMAP1: ams-delta-fiq: Use

2018-09-10 Thread Janusz Krzysztofik
Instead of defining symbols already defined in linux/platform_data/gpio-omap.h, use that header file. Since we include the header into an assembler code, prevent C only bits from being read in. Signed-off-by: Janusz Krzysztofik --- arch/arm/mach-omap1/ams-delta-fiq-handler.S | 12 +++-

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

2018-09-10 Thread Will Deacon
Hi Linus, On Fri, Sep 07, 2018 at 10:51:19AM -0700, Linus Torvalds wrote: > On Fri, Sep 7, 2018 at 8:45 AM Will Deacon wrote: > > > > Just one small fix here, preventing a VM_WARN_ON when a !present PMD/PUD > > is "freed" as part of a huge ioremap() operation. The correct behaviour > > is to skip

Re: [PATCH v4 05/13] Compiler Attributes: naked was fixed in gcc 4.6

2018-09-10 Thread Stefan Agner
Hi, On 08.09.2018 14:24, Miguel Ojeda wrote: > Commit 9c695203a7dd ("compiler-gcc.h: gcc-4.5 needs noclone > and noinline on __naked functions") added noinline and noclone > as a workaround for a gcc 4.5 bug, which was resolved in 4.6.0. > > Since now the minimum gcc supported version is 4.6, > w

Re: [PATCH v3 1/3] arm64: dts: qcom: sdm845: Add USB-related nodes

2018-09-10 Thread Bjorn Andersson
On Wed 22 Aug 10:36 PDT 2018, Douglas Anderson wrote: > From: Manu Gautam > > This adds nodes for USB and related PHYs. > > Signed-off-by: Manu Gautam > [dianders: reworked quite a bit] > Signed-off-by: Douglas Anderson Reviewed-by: Bjorn Andersson > --- > > Changes in v3: > - Don't just

Re: [PATCH] f2fs: add new idle interval timing for discard and gc paths

2018-09-10 Thread kbuild test robot
Hi Sahitya, Thank you for the patch! Yet something to improve: [auto build test ERROR on f2fs/dev-test] [also build test ERROR on next-20180910] [cannot apply to v4.19-rc3] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

Re: Plumbers 2018 - Performance and Scalability Microconference

2018-09-10 Thread John Hubbard
On 9/10/18 10:20 AM, Davidlohr Bueso wrote: > On Mon, 10 Sep 2018, Waiman Long wrote: >> On 09/08/2018 12:13 AM, John Hubbard wrote: [...] >>> It's also interesting that there are two main huge page systems (THP and >>> Hugetlbfs), and I sometimes >>> wonder the obvious thing to wonder: are these

[PATCH] ASoC: Fix UBSAN warning at snd_soc_get/put_volsw_sx()

2018-09-10 Thread Rohit kumar
In functions snd_soc_get_volsw_sx() or snd_soc_put_volsw_sx(), if the result of (min + max) is negative, then fls() returns signed integer with value as 32. This leads to signed integer overflow as complete operation is considered as signed integer. UBSAN: Undefined behaviour in sound/soc/soc-ops.

Re: [BUG] [Resend] Possible sleep-in-atomic-context bugs involving regmap_lock_mutex()

2018-09-10 Thread Mark Brown
On Thu, Aug 30, 2018 at 10:34:20AM +0800, Jia-Ju Bai wrote: > My static tool DSAC reports many sleep-in-atomic-context bugs involving > regmap_lock_mutex(), so I wonder whether this function is possible to be > executed in atomic context. Have you actually analyzed the code paths that are really

Re: [PATCH] perf test: Add watchpoint test

2018-09-10 Thread Arnaldo Carvalho de Melo
Em Mon, Sep 10, 2018 at 11:18:30AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, Sep 10, 2018 at 10:47:54AM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Mon, Sep 10, 2018 at 12:31:54PM +0200, Jiri Olsa escreveu: > > > On Mon, Sep 10, 2018 at 03:28:11PM +0530, Ravi Bangoria wrote: > > > >

Stable branch for core tlb.h changes

2018-09-10 Thread Will Deacon
Hi all, Just to say that I've pushed the base tlb.h changes to a stable branch here: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git tlb/asm-generic and this is already in -next via the arm64 tree. Feel free to pull this into your own trees if you need it too. Cheers, Will

Re: get_arg_page() && ptr_size accounting

2018-09-10 Thread Oleg Nesterov
On 09/10, Oleg Nesterov wrote: > > On 09/10, Kees Cook wrote: > > > > On Mon, Sep 10, 2018 at 9:41 AM, Kees Cook wrote: > > > On Mon, Sep 10, 2018 at 5:29 AM, Oleg Nesterov wrote: > > >> Hi Kees, > > >> > > >> I was thinking about backporting the commit 98da7d08850fb8bde > > >> ("fs/exec.c: accou

[PATCH v2] cpuidle: enter_state: Don't needlessly calculate diff time

2018-09-10 Thread Fieah Lim
Currently we use ktime_us_delta() to calculate last residency and state usage unconditionally, it makes no sense to do this calculation when we fails to enter any idle state. It can be optimize by moving the calculation after entered_state >= 0 While at it, merge those comment blocks into one and

Re: [PATCH v7] Add udmabuf misc device

2018-09-10 Thread Gert Wollny
Using the kernel 4.19.0-rc2 it works now, so With the fix for not calling fput when memfd == NULL the patch is Reviewed-By: Gert Wollny best, Gert Am Montag, den 10.09.2018, 15:30 +0200 schrieb Gerd Hoffmann: > On Mon, Sep 10, 2018 at 01:31:08PM +0200, Gert Wollny wrote: > > Am Montag, den 1

Re: [PATCH 00/17] thermal: enable/check sensor after its setup is finished

2018-09-10 Thread Eduardo Valentin
On Tue, Apr 10, 2018 at 02:41:54PM +0200, Bartlomiej Zolnierkiewicz wrote: > Hi, > > [devm]_thermal_zone_of_sensor_register() is used to register > thermal sensor by thermal drivers using DeviceTree. Besides > registering sensor this function also immediately enables it > (using ->set_mode method)

[PATCH] IAD Register is yet readable trough iad sys file. Fix snprintf (%u for unsigned, count for max size).

2018-09-10 Thread Julien Folly
Signed-off-by: Julien Folly Acked-by: Evgeniy Polyakov --- drivers/w1/slaves/w1_ds2438.c | 66 ++- 1 file changed, 52 insertions(+), 14 deletions(-) diff --git a/drivers/w1/slaves/w1_ds2438.c b/drivers/w1/slaves/w1_ds2438.c index bf641a1..7c4e33d 10064

Re: [PATCH] locking/rwsem: Make owner store task pointer of last owning reader

2018-09-10 Thread Waiman Long
On 09/10/2018 01:15 PM, Davidlohr Bueso wrote: > On Mon, 10 Sep 2018, Waiman Long wrote: > >> One major issue with a combined count/owner is that we may have to use >> cmpxchg for reader lock which will certainly impact reader-heavy >> workloads. I have also thought about ways to compress the task

Re: [PATCH 2/4] dt-bindings: arm: rockchip: Add binding for Rock960 board

2018-09-10 Thread Manivannan Sadhasivam
Hi Heiko, On Mon, Sep 10, 2018 at 07:22:26PM +0200, Heiko Stuebner wrote: > Am Montag, 10. September 2018, 17:13:54 CEST schrieb Manivannan Sadhasivam: > > Add devicetree binding for Rock960 board from Vamrs Limited. > > > > Signed-off-by: Manivannan Sadhasivam > > --- > > Documentation/devicet

[PATCH v2] ASoC: AMD: Fix simultaneous playback and capture on different channel

2018-09-10 Thread Akshu Agrawal
If capture and playback are started on different channel (I2S/BT) there is a possibilty that channel information passed from machine driver is overwritten before the configuration is done in dma driver. Example: 113.597588: cz_max_startup: ---playback sets BT channel 113.597694: cz_dmic1_startup: -

Re: [PATCH v5 0/2] tpm: add support for nonblocking operation

2018-09-10 Thread Tadeusz Struk
On 08/31/2018 01:58 AM, Jarkko Sakkinen wrote: > Just the change to the commit message. Mislooked patchwork, the typo was > in my response :-) I'll do recheck for 2/2. Check those comments before > v6 if there is anything else. Hi, I have done the changes you requested and ran the "checkpatch.pl -

Re: [PATCH 1/2] ASoC: AMD: Fix simultaneous playback and capture on different channel

2018-09-10 Thread Agrawal, Akshu
On 9/10/2018 5:08 PM, Mark Brown wrote: > On Mon, Sep 10, 2018 at 01:36:29PM +0530, Akshu Agrawal wrote: >> If capture and playback are started on different channel (I2S/BT) >> there is a possibilty that channel information passed from machine driver >> is overwritten before the configuration is

Re: [PATCH 2/4] dt-bindings: arm: rockchip: Add binding for Rock960 board

2018-09-10 Thread Heiko Stuebner
Am Montag, 10. September 2018, 17:13:54 CEST schrieb Manivannan Sadhasivam: > Add devicetree binding for Rock960 board from Vamrs Limited. > > Signed-off-by: Manivannan Sadhasivam > --- > Documentation/devicetree/bindings/arm/rockchip.txt | 4 > 1 file changed, 4 insertions(+) > > diff --g

Re: [PATCH v3 2/2] ARM: s3c24xx: Correct SD card write protect detection on Mini2440

2018-09-10 Thread Krzysztof Kozlowski
On Fri, Sep 07, 2018 at 11:54:46PM +0200, Cedric Roux wrote: > The mini2440 computer uses "active high" to signal that the "write protect" > of the inserted MMC is set. The current code uses the opposite, leading to > a wrong detection of write protection. The solution is simply to use > ".wprotect

Re: get_arg_page() && ptr_size accounting

2018-09-10 Thread Oleg Nesterov
On 09/10, Kees Cook wrote: > > On Mon, Sep 10, 2018 at 9:41 AM, Kees Cook wrote: > > On Mon, Sep 10, 2018 at 5:29 AM, Oleg Nesterov wrote: > >> Hi Kees, > >> > >> I was thinking about backporting the commit 98da7d08850fb8bde > >> ("fs/exec.c: account for argv/envp pointers"), but I am not sure >

Re: Plumbers 2018 - Performance and Scalability Microconference

2018-09-10 Thread Davidlohr Bueso
On Mon, 10 Sep 2018, Waiman Long wrote: On 09/08/2018 12:13 AM, John Hubbard wrote: Hi Daniel and all, I'm interested in the first 3 of those 4 topics, so if it doesn't conflict with HMM topics or fix-gup-with-dma topics, I'd like to attend. GPUs generally need to access large chunks of mem

[PATCH v6 1/2] tpm: add ptr to the tpm_space struct to file_priv

2018-09-10 Thread Tadeusz Struk
Add a ptr to struct tpm_space to the file_priv and consolidate of the write operations for the two interfaces. Tested-by: Philip Tricca Signed-off-by: Tadeusz Struk --- drivers/char/tpm/tpm-dev-common.c |8 +--- drivers/char/tpm/tpm-dev.c| 10 ++ drivers/char/tpm/tpm-d

[PATCH v6 0/2] tpm: add support for nonblocking operation

2018-09-10 Thread Tadeusz Struk
The TCG SAPI specification [1] defines a set of functions, which allow applications to use the TPM device in either blocking or non-blocking fashion. Each command defined by the specification has a corresponding Tss2_Sys__Prepare() and Tss2_Sys__Complete() call, which together with Tss2_Sys_Execute

Re: get_arg_page() && ptr_size accounting

2018-09-10 Thread Oleg Nesterov
On 09/10, Kees Cook wrote: > > > So get_arg_page() does > > > > /* > > * Since the stack will hold pointers to the strings, we > > * must account for them as well. > > * > > * The size calculation is the entire vma

[PATCH v6 2/2] tpm: add support for nonblocking operation

2018-09-10 Thread Tadeusz Struk
Currently the TPM driver only supports blocking calls, which doesn't allow asynchronous IO operations to the TPM hardware. This patch changes it and adds support for nonblocking write and a new poll function to enable applications, which want to take advantage of this. Tested-by: Philip Tricca Si

[PATCH 01/11] bus: fsl-mc: add support for dpseci device type

2018-09-10 Thread Horia Geantă
Signed-off-by: Horia Geantă --- drivers/bus/fsl-mc/fsl-mc-bus.c | 5 + include/linux/fsl/mc.h | 6 ++ 2 files changed, 11 insertions(+) diff --git a/drivers/bus/fsl-mc/fsl-mc-bus.c b/drivers/bus/fsl-mc/fsl-mc-bus.c index 5d8266c6571f..4552b06fe601 100644 --- a/drivers/bus/fsl-mc

Re: [PATCH] coresight: tmc: Refactor loops in etb dump

2018-09-10 Thread Mathieu Poirier
On Wed, 5 Sep 2018 at 04:09, Leo Yan wrote: > > In ETB dump function tmc_etb_dump_hw() it has nested loops. The second > level loop is to iterate index in the range [0 .. drvdata->memwidth); > but the index isn't really used in the code, thus the second level > loop is useless. > > This patch is

[PATCH 09/11] crypto: caam - export ahash shared descriptor generation

2018-09-10 Thread Horia Geantă
caam/qi2 driver will support ahash algorithms, thus move ahash descriptors generation in a shared location. Signed-off-by: Horia Geantă --- drivers/crypto/caam/Kconfig | 3 ++ drivers/crypto/caam/Makefile| 1 + drivers/crypto/caam/caamhash.c | 79 +-

Re: [PATCH 6/7] remoteproc: Add Xilinx ZynqMP R5 remoteproc

2018-09-10 Thread Wendy Liang
On Fri, Aug 24, 2018 at 9:26 AM Wendy Liang wrote: > > Ping, any comments to the driver? Any comments to this driver? Thanks, Wendy > On Thu, Aug 16, 2018 at 3:17 AM Wendy Liang wrote: > > > > There are cortex-r5 processors in Xilinx Zynq UltraScale+ > > MPSoC platforms. This remoteproc driver

[PATCH 10/11] crypto: caam/qi2 - add support for ahash algorithms

2018-09-10 Thread Horia Geantă
Add support for unkeyed and keyed (hmac) md5, sha algorithms. Signed-off-by: Horia Geantă --- drivers/crypto/caam/Kconfig |4 +- drivers/crypto/caam/caamalg_qi2.c | 1712 + drivers/crypto/caam/caamalg_qi2.h | 16 + 3 files changed, 1731 insertions(

[PATCH 07/11] crypto: caam/qi2 - add DPAA2-CAAM driver

2018-09-10 Thread Horia Geantă
Add CAAM driver that works using the DPSECI backend, i.e. manages DPSECI DPAA2 objects sitting on the Management Complex (MC) fsl-mc bus. Data transfers (crypto requests) are sent/received to/from CAAM crypto engine via Queue Interface (v2), this being similar to existing caam/qi. OTOH, configurat

Re: [PATCH 01/17] thermal: add thermal_zone_device_toggle() helper

2018-09-10 Thread Eduardo Valentin
On Tue, Apr 10, 2018 at 02:41:55PM +0200, Bartlomiej Zolnierkiewicz wrote: > Add thermal_zone_device_toggle() helper. Then update core code and > drivers to use it. Cool, but I think it would be good to have some sort of rational here at the commit message telling why this helper is being added,

[PATCH 00/11] crypto: caam - add DPAA2 (DPSECI) driver

2018-09-10 Thread Horia Geantă
Hi, This patch set adds the CAAM crypto engine driver for DPAA2 (Data Path Acceleration Architecture v2) found on ARMv8-based SoCs like LS1088A, LS2088A, LX2160A. Previously sent RFC can be found here: https://www.mail-archive.com/linux-crypto@vger.kernel.org/msg27290.html Driver consists of: -D

[PATCH 02/11] Revert "staging: fsl-mc/dpio: remove couple of unused functions"

2018-09-10 Thread Horia Geantă
This reverts commit a211c8170b3c348353decb6e175c58a7814f218c. (+ updated to account for driver being moved out of staging) dpseci object will make use of these functions, thus it's time to add them back. Signed-off-by: Horia Geantă --- drivers/soc/fsl/dpio/dpio-service.c | 58 ++

Re: [PATCH] locking/rwsem: Make owner store task pointer of last owning reader

2018-09-10 Thread Davidlohr Bueso
On Mon, 10 Sep 2018, Waiman Long wrote: One major issue with a combined count/owner is that we may have to use cmpxchg for reader lock which will certainly impact reader-heavy workloads. I have also thought about ways to compress the task pointer address so that it can use fewer bits and leave t

Re: [PATCH v3 2/2] dt-bindings: mailbox: Add Xilinx IPI Mailbox

2018-09-10 Thread Wendy Liang
On Thu, Jul 26, 2018 at 2:31 PM Wendy Liang wrote: > > On Tue, Jan 9, 2018 at 8:42 PM, Jassi Brar wrote: > > On Wed, Jan 10, 2018 at 6:52 AM, Jiaying Liang wrote: > >>> From: Jassi Brar [mailto:jassisinghb...@gmail.com] > > > >>> > + > >>> > +Controller Device Node: > >>> > +

Re: [PATCH v2 3/5] irqchip: RISC-V Local Interrupt Controller Driver

2018-09-10 Thread Anup Patel
On Mon, Sep 10, 2018 at 10:09 PM, Christoph Hellwig wrote: > On Mon, Sep 10, 2018 at 10:05:42PM +0530, Anup Patel wrote: >> I am quite sure RISC-V spec does not restrict the use of other >> local interrupts. Different CPU implementations can have their >> own local interrupts. > > Please take a lo

Re: Plumbers 2018 - Performance and Scalability Microconference

2018-09-10 Thread Waiman Long
On 09/08/2018 12:13 AM, John Hubbard wrote: > > Hi Daniel and all, > > I'm interested in the first 3 of those 4 topics, so if it doesn't conflict > with HMM topics or > fix-gup-with-dma topics, I'd like to attend. GPUs generally need to access > large chunks of > memory, and that includes migrati

rng_dev_read: Kernel memory exposure attempt detected from SLUB object 'kmalloc-64'

2018-09-10 Thread Meelis Roos
This is weekend's 4.19.0-rc2-00246-gd7b686ebf704 on a Thinkad T460s. There seems to be a usercopy warning from rng_dev read (full dmesg below). [0.00] microcode: microcode updated early to revision 0xc6, date = 2018-04-17 [0.00] Linux version 4.19.0-rc2-00246-gd7b686ebf704 (mroo

Re: [PATCH v3 1/2] ARM: s3c24xx: formatting cleanup in mach-mini2440.c

2018-09-10 Thread Krzysztof Kozlowski
On Fri, Sep 07, 2018 at 11:54:45PM +0200, Cedric Roux wrote: > Running: > scripts/checkpatch.pl -f arch/arm/mach-s3c24xx/mach-mini2440.c > revealed several errors and warnings. > > They were all removed, except one which is an #if 0 around the declaration > of a gpio pin. This needs some more

[PATCH] ARM: s3c24xx: Consistently use tab for indenting member assignments

2018-09-10 Thread Krzysztof Kozlowski
Code was mixing spaces and tabs for indenting members in structures. Signed-off-by: Krzysztof Kozlowski --- arch/arm/mach-s3c24xx/mach-mini2440.c | 40 +-- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/arch/arm/mach-s3c24xx/mach-mini2440.c b/arc

Re: [PATCH 11/11] UAPI: Check headers build for C++ [ver #2]

2018-09-10 Thread kbuild test robot
Hi David, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.19-rc3 next-20180910] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits

Re: [PATCH 2/5] gpio: davinci: Use dev name for label and automatic base selection

2018-09-10 Thread David Lechner
On 09/10/2018 02:37 AM, Sekhar Nori wrote: On Monday 10 September 2018 12:55 PM, Linus Walleij wrote: On Sat, Sep 8, 2018 at 9:41 PM Grygorii Strashko wrote: On 09/06/2018 09:16 AM, Keerthy wrote: Okay now its numbered differently: cat /sys/class/gpio/gpiochip340/ngpio 144 cat /sys/class/

Re: [PATCH] Revert "x86/tsc: Consolidate init code"

2018-09-10 Thread Thomas Gleixner
On Mon, 10 Sep 2018, Ville Syrjälä wrote: > On Mon, Sep 10, 2018 at 06:23:49PM +0200, Thomas Gleixner wrote: > > 1) My workflow makes things tagged as BUG and REGRESSION urgent > >automatically while [PATCH] just is queued to the normal pile of > >backlog, i.e. at the end. It just sprang in

Re: [PATCH] arch/arm64/include/asm/jump_label.h: use asm_volatile_goto

2018-09-10 Thread Nick Desaulniers
On Mon, Sep 10, 2018 at 2:49 AM Will Deacon wrote: > > On Sun, Sep 09, 2018 at 05:47:31PM +0200, Miguel Ojeda wrote: > > All other uses of "asm goto" go through asm_volatile_goto > > (including the arm version of the same file). For consistency, > > use it here as well. > > > > Cc: Nick Desaulnier

Re: [PATCH v6 4/5] seccomp: add support for passing fds via USER_NOTIF

2018-09-10 Thread Jann Horn
On Thu, Sep 6, 2018 at 8:30 PM Tycho Andersen wrote: > On Thu, Sep 06, 2018 at 10:22:46AM -0600, Tycho Andersen wrote: > > On Thu, Sep 06, 2018 at 06:15:18PM +0200, Jann Horn wrote: > > > On Thu, Sep 6, 2018 at 5:29 PM Tycho Andersen wrote: > > > > The idea here is that the userspace handler shou

<    1   2   3   4   5   6   7   8   9   >