Re: [PATCH RFC 04/14] of: irq: document properties for wakeup interrupt parent

2019-09-02 Thread Rob Herring
On Thu, 29 Aug 2019 12:11:53 -0600, Lina Iyer wrote: > Some interrupt controllers in a SoC, are always powered on and have a > select interrupts routed to them, so that they can wakeup the SoC from > suspend. Add wakeup-parent DT property to refer to these interrupt > controllers. > > Cc:

Re: [1/2] dt-bindings: rtc: pcf85263/pcf85363: add some properties

2019-09-02 Thread Rob Herring
On Fri, Aug 30, 2019 at 05:17:19PM +0800, Biwen Li wrote: > Add some properties for pcf85263/pcf85363 as follows: > - interrupt-output-pin: string type > - quartz-load-capacitance: integer type > - quartz-drive-strength: integer type > - quartz-low-jitter: bool type > - wakeup-source:

Re: [PATCH V3 2/6] dt-bindings: PCI: tegra: Add PCIe slot supplies regulator entries

2019-09-02 Thread Rob Herring
On Wed, 28 Aug 2019 22:58:46 +0530, Vidya Sagar wrote: > Add optional bindings "vpcie3v3-supply" and "vpcie12v-supply" to describe > regulators of a PCIe slot's supplies 3.3V and 12V provided the platform > is designed to have regulator controlled slot supplies. > > Signed-off-by: Vidya Sagar >

Re: [PATCH v2 1/6] dt-bindings: pci: Update iProc PCI binding for INTx support

2019-09-02 Thread Rob Herring
On Wed, 28 Aug 2019 14:24:43 +0530, Srinath Mannam wrote: > From: Ray Jui > > Update the iProc PCIe binding document for better modeling of the legacy > interrupt (INTx) support > > Signed-off-by: Ray Jui > Signed-off-by: Srinath Mannam > --- > .../devicetree/bindings/pci/brcm,iproc-pcie.txt

Re: [PATCH v2 2/2] clk: mediatek: add pericfg clocks for MT8183

2019-09-02 Thread Rob Herring
On Wed, 28 Aug 2019 16:22:13 +0800, Chunfeng Yun wrote: > Add pericfg clocks for MT8183, it's used when support USB > remote wakeup > > Cc: Weiyi Lu > Signed-off-by: Chunfeng Yun > --- > v2: >use GATE_MTK to define GATE_PERI suggested by Weiyi > --- > drivers/clk/mediatek/clk-mt8183.c

Re: [PATCH V3 1/6] dt-bindings: PCI: tegra: Add sideband pins configuration entries

2019-09-02 Thread Rob Herring
On Wed, 28 Aug 2019 22:58:45 +0530, Vidya Sagar wrote: > Add optional bindings "pinctrl-names" and "pinctrl-0" to describe pin > configuration information of a particular PCIe controller. > > Signed-off-by: Vidya Sagar > --- > V3: > * None > > V2: > * None > >

Re: [PATCH v4] tpm: Parse event log from TPM2 ACPI table

2019-09-02 Thread Jarkko Sakkinen
On Fri, Aug 30, 2019 at 10:10:27PM -0700, Jordan Hand wrote: > For systems with a TPM2 chip which use ACPI to expose event logs, retrieve the > crypto-agile event log from the TPM2 ACPI table. The TPM2 table is defined > in section 7.3 of the TCG ACPI Specification (see link). > > The TPM2 table

Re: [PATCH] PCI / PM: Don't runtime suspend when device only supports wakeup from D0

2019-09-02 Thread Kai-Heng Feng
at 21:45, Bjorn Helgaas wrote: On Fri, Jul 05, 2019 at 03:02:01PM +0800, Kai-Heng Feng wrote: at 19:57, Bjorn Helgaas wrote: On Mon, May 27, 2019 at 11:57:47AM -0500, Bjorn Helgaas wrote: I'm wondering if this platform has a firmware defect. Here's my thinking. The xHC is a Root

Re: microblaze HAVE_MEMBLOCK_NODE_MAP dependency (was Re: [PATCH v2 0/5] mm: Enable CONFIG_NODES_SPAN_OTHER_NODES by default for NUMA)

2019-09-02 Thread Michal Simek
On 31. 07. 19 19:15, Mike Rapoport wrote: > On Wed, Jul 31, 2019 at 04:41:14PM +0200, Michal Hocko wrote: >> On Wed 31-07-19 17:21:29, Mike Rapoport wrote: >>> On Wed, Jul 31, 2019 at 03:00:37PM +0200, Michal Hocko wrote: I am sorry, but I still do not follow. Who is consuming that node

Re: KASAN: use-after-free Read in shmem_fault (2)

2019-09-02 Thread Matthew Wilcox
On Sat, Aug 31, 2019 at 12:58:26PM +0800, Hillf Danton wrote: > On Fri, 30 Aug 2019 12:40:06 -0700 > > syzbot found the following crash on: > > > > HEAD commit:a55aa89a Linux 5.3-rc6 > > git tree: upstream > > console output: https://syzkaller.appspot.com/x/log.txt?x=12f4beb660 > >

Re: [BUG] Use of probe_kernel_address() in task_rcu_dereference() without checking return value

2019-09-02 Thread Peter Zijlstra
On Mon, Sep 02, 2019 at 03:40:03PM +0200, Oleg Nesterov wrote: > diff --git a/include/linux/sched.h b/include/linux/sched.h > index 8dc1811..1f9b021 100644 > --- a/include/linux/sched.h > +++ b/include/linux/sched.h > @@ -1134,7 +1134,10 @@ struct task_struct { > > struct

Re: [PATCH RFC 05/14] dt-bindings/interrupt-controller: pdc: add SPI config register

2019-09-02 Thread Marc Zyngier
On 02/09/2019 14:38, Rob Herring wrote: > On Thu, Aug 29, 2019 at 12:11:54PM -0600, Lina Iyer wrote: >> In addition to configuring the PDC, additional registers that interface >> the GIC have to be configured to match the GPIO type. The registers on >> some QCOM SoCs are access restricted, while

Re: [PATCH 2/2] tpm: tpm_crb: enhance resource mapping mechanism for supporting AMD's fTPM

2019-09-02 Thread Jarkko Sakkinen
On Fri, Aug 30, 2019 at 05:58:39PM +, Safford, David (GE Global Research, US) wrote: > > Thank you for your advice. We also discussed earlier and concluded that > > checking and raw remapping are enough to work around this. The link is > > here, https://lkml.org/lkml/2019/8/29/962 . > > I

Re: [PATCH 1/3] libperf: Add perf_cpu_map__max function

2019-09-02 Thread Arnaldo Carvalho de Melo
Em Mon, Sep 02, 2019 at 02:12:53PM +0200, Jiri Olsa escreveu: > So it can be used from multiple places. Applied. - Arnaldo > Link: http://lkml.kernel.org/n/tip-yp3h5rl9e8piybufq41zq...@git.kernel.org > Signed-off-by: Jiri Olsa > --- > tools/perf/builtin-stat.c| 14 +-

Re: [PATCH 2/3] perf tools: Add perf_env__numa_node function

2019-09-02 Thread Arnaldo Carvalho de Melo
Em Mon, Sep 02, 2019 at 02:12:54PM +0200, Jiri Olsa escreveu: > To speed up cpu to node lookup, adding perf_env__numa_node > function, that creates cpu array on the first lookup, that > holds numa nodes for each stored cpu. > > Link:

[PATCH v5 00/11] Device property improvements, add %pfw format specifier

2019-09-02 Thread Sakari Ailus
Hi all, This set adds functionality into the device property API (counting a node's parents as well as obtaining its name) in order to support printing fwnode names using a new conversion specifier "%pfw". The names that are produced are equivalent to its OF counterpart "%pOF" on OF systems for

[PATCH v5 08/11] lib/vsprintf: Make use of fwnode API to obtain node names and separators

2019-09-02 Thread Sakari Ailus
Instead of implementing our own means of discovering parent nodes, node names or counting how many parents a node has, use the newly added functions in the fwnode API to obtain that information. Signed-off-by: Sakari Ailus Reviewed-by: Andy Shevchenko --- lib/vsprintf.c | 38

[PATCH v5 06/11] device property: Add a function to obtain a node's prefix

2019-09-02 Thread Sakari Ailus
The prefix is used for printing purpose before a node, and it also works as a separator between two nodes. Signed-off-by: Sakari Ailus Acked-by: Rob Herring (for OF) Reviewed-by: Andy Shevchenko --- drivers/acpi/property.c | 22 ++ drivers/base/property.c | 12

[PATCH v5 04/11] device property: Add functions for accessing node's parents

2019-09-02 Thread Sakari Ailus
Add two convenience functions for accessing node's parents: fwnode_count_parents() returns the number of parent nodes a given node has. fwnode_get_nth_parent() returns node's parent at a given distance from the node itself. Signed-off-by: Sakari Ailus Reviewed-by: Andy Shevchenko ---

[PATCH v5 07/11] lib/vsprintf: Remove support for %pF and %pf in favour of %pS and %ps

2019-09-02 Thread Sakari Ailus
%pS and %ps are now the preferred conversion specifiers to print function names. The functionality is equivalent; remove the old, deprecated %pF and %pf support. Signed-off-by: Sakari Ailus Reviewed-by: Andy Shevchenko --- Documentation/core-api/printk-formats.rst | 10 --

[PATCH v5 02/11] software node: Make argument to to_software_node const

2019-09-02 Thread Sakari Ailus
to_software_node() does not need to modify the fwnode_handle it operates on; therefore make it const. This allows passing a const fwnode_handle to to_software_node(). Signed-off-by: Sakari Ailus Reviewed-by: Andy Shevchenko Reviewed-by: Heikki Krogerus --- drivers/base/swnode.c| 4 ++--

[PATCH v5 10/11] lib/vsprintf: Add %pfw conversion specifier for printing fwnode names

2019-09-02 Thread Sakari Ailus
Add support for %pfw conversion specifier (with "f" and "P" modifiers) to support printing full path of the node, including its name ("f") and only the node's name ("P") in the printk family of functions. The two flags have equivalent functionality to existing %pOF with the same two modifiers ("f"

[PATCH v5 11/11] lib/test_printf: Add tests for %pfw printk modifier

2019-09-02 Thread Sakari Ailus
Add a test for the %pfw printk modifier using software nodes. Signed-off-by: Sakari Ailus Reviewed-by: Andy Shevchenko --- lib/test_printf.c | 37 + 1 file changed, 37 insertions(+) diff --git a/lib/test_printf.c b/lib/test_printf.c index

[PATCH v5 05/11] device property: Add fwnode_get_name for returning the name of a node

2019-09-02 Thread Sakari Ailus
The fwnode framework did not have means to obtain the name of a node. Add that now, in form of the fwnode_get_name() function and a corresponding get_name fwnode op. OF and ACPI support is included. Signed-off-by: Sakari Ailus Acked-by: Rob Herring (for OF) Reviewed-by: Andy Shevchenko ---

[PATCH v5 09/11] lib/vsprintf: OF nodes are first and foremost, struct device_nodes

2019-09-02 Thread Sakari Ailus
Factor out static kobject_string() function that simply calls device_node_string(), and thus remove references to kobjects (as these are struct device_node). Signed-off-by: Sakari Ailus Reviewed-by: Andy Shevchenko --- lib/vsprintf.c | 16 1 file changed, 4 insertions(+), 12

[PATCH v5 01/11] software node: Get reference to parent swnode in get_parent op

2019-09-02 Thread Sakari Ailus
The software_node_get_parent() returned a pointer to the parent swnode, but did not take a reference to it, leading the caller to put a reference that was not taken. Take that reference now. Fixes: 59abd83672f7 ("drivers: base: Introducing software nodes to the firmware node framework")

[PATCH v5 03/11] device property: Move fwnode_get_parent() up

2019-09-02 Thread Sakari Ailus
Move fwnode_get_parent() above fwnode_get_next_parent(), making the order the same as in the header file. Signed-off-by: Sakari Ailus Reviewed-by: Andy Shevchenko --- drivers/base/property.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git

Re: [PATCH 02/12] media: hantro: Do not reorder H264 scaling list

2019-09-02 Thread Philipp Zabel
Hi Jonas, On Sun, 2019-09-01 at 12:45 +, Jonas Karlman wrote: > Scaling list supplied from userspace using ffmpeg and libva-v4l2-request > is already in matrix order and can be used without applying the inverse > scanning process. "in matrix order" is equivalent to "in raster scan order"?

Re: linux-next: Signed-off-by missing for commit in the tpmdd tree

2019-09-02 Thread Jarkko Sakkinen
On Mon, Sep 02, 2019 at 07:32:27AM +1000, Stephen Rothwell wrote: > Hi all, > > Commit > > 8dbcb44f392e ("tpm_tis_core: Set TPM_CHIP_FLAG_IRQ before probing for > interrupts") > > is missing a Signed-off-by from its committer. > > -- > Cheers, > Stephen Rothwell Thanks, fixed. /Jarkko

Re: linux-next: build failure after merge of the iommu tree

2019-09-02 Thread Joerg Roedel
Hi, tl;dr: And IOMMU commit introduces a new user for sme_active() in generic code, and commit 284e21fab2cf x86, s390/mm: Move sme_active() and sme_me_mask to x86-specific header breaks the build of drivers/iommu/ for all architectures not implementing

Re: [PATCH 00/10] arm64: dts: allwinner: h5: Enable CPU DVFS (cpufreq)

2019-09-02 Thread Ondřej Jirman
Hi, On Wed, Jan 30, 2019 at 04:41:53PM +0800, Chen-Yu Tsai wrote: > Hi everyone, > > This series enables DVFS for the CPU cores (aka cpufreq) on the > Allwinner H5 SoC. The OPP table was taken from Armbian, with minor > tweaks to the maximum voltage to account for slightly increased voltage > on

Re: [PATCH v1] reset: Remove copy'n'paste redundancy in the comments

2019-09-02 Thread Philipp Zabel
Hi Andy, On Mon, 2019-09-02 at 16:19 +0300, Andy Shevchenko wrote: > On Mon, Aug 19, 2019 at 01:52:52PM +0300, Andy Shevchenko wrote: > > It seems the commit bb475230b8e5 > > ("reset: make optional functions really optional") > > brought couple of redundant lines in the comments. > > > > Drop

[PATCH] tools/power/x86/turbostat/turbostat: Report MSR_PLATFORM_INFO registers

2019-09-02 Thread Erwan Velu
This commit is about report all registers from MSR_PLATFORM_INFO. This helps understand the actual state of the processor. This patch also reports the min efficiency frequency. Signed-off-by: Erwan Velu --- tools/power/x86/turbostat/turbostat.c | 42 +-- 1 file changed,

Re: [PATCH v2] merge_config.sh: Check error codes from make

2019-09-02 Thread Jon Hunter
On 19/08/2019 21:06, Mark Brown wrote: > When we execute make after merging the configurations we ignore any > errors it produces causing whatever is running merge_config.sh to be > unaware of any failures. This issue was noticed by Guillaume Tucker > while looking at problems with testing of

Re: [PATCH v6 01/24] erofs: add on-disk layout

2019-09-02 Thread David Sterba
On Mon, Sep 02, 2019 at 10:43:03AM +0200, Pavel Machek wrote: > > > > Rather than they didn't run "gdb" or "pahole" and change it by mistake. > > > > > > I think Christoph is not right here. > > > > > > Using external tools for validation is extra work > > > when necessary for understanding the

Re: [PATCH v3] arch/microblaze: add support for get_user() of size 8 bytes

2019-09-02 Thread Randy Dunlap
On 9/1/19 9:58 PM, Linus Torvalds wrote: > On Sun, Sep 1, 2019 at 7:10 PM Randy Dunlap wrote: >> >> I guess we need a way to coerce that to call get_user_1(), >> such as a typecast. This _seems_ to work (i.e., call get_user_1()): > > No, I oversimplified. > > Try this slightly modified patch

Re: [RESEND][PATCH v2-resend] MAINTAINERS: fix style in KEYS-TRUSTED entry

2019-09-02 Thread Jarkko Sakkinen
On Mon, Aug 26, 2019 at 08:40:24AM +0300, Jarkko Sakkinen wrote: > On Sun, Aug 25, 2019 at 07:00:15PM +0200, Lukas Bulwahn wrote: > > Mimi Zohar used spaces instead of a tab when adding Jarkko Sakkinen as > > further maintainer to the KEYS-TRUSTED section entry. > > > > In fact,

[PATCH v3 1/4] arm64: mm: use arm64_dma_phys_limit instead of calling max_zone_dma_phys()

2019-09-02 Thread Nicolas Saenz Julienne
By the time we call zones_sizes_init() arm64_dma_phys_limit already contains the result of max_zone_dma_phys(). We use the variable instead of calling the function directly to save some precious cpu time. Signed-off-by: Nicolas Saenz Julienne --- Changes in v3: None Changes in v2: None

[PATCH v3 2/4] arm64: rename variables used to calculate ZONE_DMA32's size

2019-09-02 Thread Nicolas Saenz Julienne
Let the name indicate that they are used to calculate ZONE_DMA32's size as opposed to ZONE_DMA. Signed-off-by: Nicolas Saenz Julienne --- Changes in v3: None Changes in v2: None arch/arm64/mm/init.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff

[PATCH v3 0/4] Raspberry Pi 4 DMA addressing support

2019-09-02 Thread Nicolas Saenz Julienne
Hi all, this series attempts to address some issues we found while bringing up the new Raspberry Pi 4 in arm64 and it's intended to serve as a follow up of these discussions: v2: https://lkml.org/lkml/2019/8/20/767 v1: https://lkml.org/lkml/2019/7/31/922 RFC: https://lkml.org/lkml/2019/7/17/476

[PATCH v3 4/4] mm: refresh ZONE_DMA and ZONE_DMA32 comments in 'enum zone_type'

2019-09-02 Thread Nicolas Saenz Julienne
These zones usage has evolved with time and the comments were outdated. This joins both ZONE_DMA and ZONE_DMA32 explanation and gives up to date examples on how they are used on different architectures. Signed-off-by: Nicolas Saenz Julienne Reviewed-by: Christoph Hellwig --- Changes in v3: -

[PATCH v3 3/4] arm64: use both ZONE_DMA and ZONE_DMA32

2019-09-02 Thread Nicolas Saenz Julienne
So far all arm64 devices have supported 32 bit DMA masks for their peripherals. This is not true anymore for the Raspberry Pi 4 as most of it's peripherals can only address the first GB of memory on a total of up to 4 GB. This goes against ZONE_DMA32's intent, as it's expected for ZONE_DMA32 to

Re: [PATCH] binder: Use kmem_cache for binder_thread

2019-09-02 Thread Peikan Tsai
On Fri, Aug 30, 2019 at 08:39:43AM +0200, Greg KH wrote: > On Fri, Aug 30, 2019 at 02:59:01AM +0800, Peikan Tsai wrote: > > On Thu, Aug 29, 2019 at 05:27:22PM +0200, Christian Brauner wrote: > > > On Thu, Aug 29, 2019 at 09:53:59AM -0400, Joel Fernandes wrote: > > > > On Thu, Aug 29, 2019 at

Re: [PATCH v4 1/9] dt-bindings: i2c: at91: add new compatible

2019-09-02 Thread Eugen.Hristev
On 02.09.2019 13:44, Peter Rosin wrote: > > On 2019-09-02 12:11, eugen.hris...@microchip.com wrote: >> From: Eugen Hristev >> >> Add compatible for new Microchip SoC, sam9x60 >> >> Reviewed-by: Rob Herring >> Signed-off-by: Eugen Hristev >> --- >>

Re: [PATCH 1/1] merge_config.sh: ignore unwanted grep errors

2019-09-02 Thread Guillaume Tucker
+ Jon Hunter who hit a similar issue On 28/08/2019 21:19, Guillaume Tucker wrote: > The merge_config.sh script verifies that all the config options have > their expected value in the resulting file and prints any issues as > warnings. These checks aren't intended to be treated as errors given >

Re: [PATCH v5] perf machine: arm/arm64: Improve completeness for kernel address space

2019-09-02 Thread Leo Yan
Hi Adrian, On Mon, Aug 26, 2019 at 08:51:05PM +0800, Leo Yan wrote: > Hi Adrian, > > On Fri, Aug 16, 2019 at 04:00:02PM +0300, Adrian Hunter wrote: > > On 16/08/19 4:45 AM, Leo Yan wrote: > > > Hi Adrian, > > > > > > On Thu, Aug 15, 2019 at 02:45:57PM +0300, Adrian Hunter wrote: > > > > > >

Re: [PATCH] mm/vmalloc: move 'area->pages' after if statement

2019-09-02 Thread Vlastimil Babka
On 8/30/19 10:50 PM, Andrew Morton wrote: > On Fri, 30 Aug 2019 12:57:16 +0900 Austin Kim wrote: > >> If !area->pages statement is true where memory allocation fails, >> area is freed. >> >> In this case 'area->pages = pages' should not executed. That read like a use after free fix and made me

Re: [PATCH v4 2/9] dt-bindings: i2c: add bindings for i2c analog and digital filter

2019-09-02 Thread Eugen.Hristev
On 02.09.2019 13:49, Peter Rosin wrote: > On 2019-09-02 12:12, eugen.hris...@microchip.com wrote: >> From: Eugen Hristev >> >> Some i2c controllers have a built-in digital or analog filter. >> This is specifically required depending on the hardware PCB/board. >> Some controllers also allow

Re: [PATCH 2/3] perf tools: Add perf_env__numa_node function

2019-09-02 Thread Jiri Olsa
On Mon, Sep 02, 2019 at 10:57:10AM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Sep 02, 2019 at 02:12:54PM +0200, Jiri Olsa escreveu: > > To speed up cpu to node lookup, adding perf_env__numa_node > > function, that creates cpu array on the first lookup, that > > holds numa nodes for each

Re: [PATCH v3 0/6] counter: new TI eQEP driver

2019-09-02 Thread David Lechner
On 9/1/19 5:58 PM, David Lechner wrote: This series adds device tree bindings and a new counter driver for the Texas Instruments Enhanced Quadrature Encoder Pulse (eQEP). ... David Lechner (6): bus/ti-pwmss: move TI PWMSS driver from PWM to bus subsystem dt-bindings: counter: new

Re: [PATCH 2/3] microblaze: remove ioremap_fullcache

2019-09-02 Thread Michal Simek
On 30. 08. 19 18:12, Christoph Hellwig wrote: > No callers of this function. > > Signed-off-by: Christoph Hellwig > --- > arch/microblaze/include/asm/io.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/microblaze/include/asm/io.h > b/arch/microblaze/include/asm/io.h > index

Re: [PATCH v2] merge_config.sh: Check error codes from make

2019-09-02 Thread Guillaume Tucker
On 02/09/2019 15:06, Jon Hunter wrote: > > On 19/08/2019 21:06, Mark Brown wrote: >> When we execute make after merging the configurations we ignore any >> errors it produces causing whatever is running merge_config.sh to be >> unaware of any failures. This issue was noticed by Guillaume Tucker

[PATCH -next] crypto: inside-secure - Fix build error without CONFIG_PCI

2019-09-02 Thread YueHaibing
If CONFIG_PCI is not set, building fails: rivers/crypto/inside-secure/safexcel.c: In function safexcel_request_ring_irq: drivers/crypto/inside-secure/safexcel.c:944:9: error: implicit declaration of function pci_irq_vector; did you mean rcu_irq_enter? [-Werror=implicit-function-declaration]

Re: KASAN: use-after-free Read in shmem_fault (2)

2019-09-02 Thread Kirill A. Shutemov
On Mon, Sep 02, 2019 at 06:52:54AM -0700, Matthew Wilcox wrote: > On Sat, Aug 31, 2019 at 12:58:26PM +0800, Hillf Danton wrote: > > On Fri, 30 Aug 2019 12:40:06 -0700 > > > syzbot found the following crash on: > > > > > > HEAD commit:a55aa89a Linux 5.3-rc6 > > > git tree: upstream > > >

Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-09-02 Thread Rob Herring
On Mon, Sep 2, 2019 at 2:39 PM Rob Herring wrote: > > On Wed, Aug 28, 2019 at 03:02:58AM +, Peng Fan wrote: > > From: Peng Fan > > > > The ARM SMC/HVC mailbox binding describes a firmware interface to trigger > > actions in software layers running in the EL2 or EL3 exception levels. > > The

Re: [PATCH 1/1] merge_config.sh: ignore unwanted grep errors

2019-09-02 Thread Jon Hunter
On 02/09/2019 15:14, Guillaume Tucker wrote: > + Jon Hunter who hit a similar issue Thanks for adding me. > On 28/08/2019 21:19, Guillaume Tucker wrote: >> The merge_config.sh script verifies that all the config options have >> their expected value in the resulting file and prints any issues

Re: [PATCH v4 2/9] dt-bindings: i2c: add bindings for i2c analog and digital filter

2019-09-02 Thread Alexandre Belloni
Eugen, On 02/09/2019 14:15:14+, eugen.hris...@microchip.com wrote: > On 02.09.2019 13:49, Peter Rosin wrote: > > > On 2019-09-02 12:12, eugen.hris...@microchip.com wrote: > >> From: Eugen Hristev > >> > >> Some i2c controllers have a built-in digital or analog filter. > >> This is

Re: [PATCH] net/skbuff: silence warnings under memory pressure

2019-09-02 Thread Vlastimil Babka
On 8/30/19 5:25 PM, Qian Cai wrote: > On Fri, 2019-08-30 at 17:11 +0200, Eric Dumazet wrote: >> >> On 8/30/19 4:57 PM, Qian Cai wrote: >>> When running heavy memory pressure workloads, the system is throwing >>> endless warnings below due to the allocation could fail from >>> __build_skb(), and

Re: linux-next: build failure after merge of the iommu tree

2019-09-02 Thread Lendacky, Thomas
On 9/2/19 9:03 AM, Joerg Roedel wrote: > Hi, > > tl;dr: And IOMMU commit introduces a new user for sme_active() in > generic code, and commit > > 284e21fab2cf x86, s390/mm: Move sme_active() and sme_me_mask to > x86-specific header > > breaks the build of

Re: [PATCH 1/1] merge_config.sh: ignore unwanted grep errors

2019-09-02 Thread Guillaume Tucker
On 02/09/2019 15:21, Jon Hunter wrote: > > On 02/09/2019 15:14, Guillaume Tucker wrote: >> + Jon Hunter who hit a similar issue > > Thanks for adding me. > >> On 28/08/2019 21:19, Guillaume Tucker wrote: >>> The merge_config.sh script verifies that all the config options have >>> their expected

Re: [PATCH] x86/Hyper-V: Fix reference of pv_ops with CONFIG_PARAVIRT=N

2019-09-02 Thread Wei Liu
On Wed, Aug 28, 2019 at 04:07:47PM +0800, lantianyu1...@gmail.com wrote: > From: Tianyu Lan > > hv_setup_sched_clock() references pv_ops and this should > be under CONFIG_PARAVIRT=Y. Fix it. > > Signed-off-by: Tianyu Lan Reviewed-by: Wei Liu

[PATCH] serial: core: Use cons->index for preferred console registration

2019-09-02 Thread Michal Simek
The reason for this patch is xilinx_uartps driver which create one dynamic instance per IP with unique major and minor combinations. drv->nr is in this case all the time setup to 1. That means that uport->line is all the time setup to 0 and drv->tty_driver->name_base is doing shift in name to for

[PATCH v4 0/4] tpm: add update_durations class op to allow override of chip supplied values

2019-09-02 Thread Jerry Snitselaar
We've run into a case where a customer has an STM TPM 1.2 chip (version 1.2.8.28), that is getting into an inconsistent state and they end up getting tpm transmit errors. In really old tpm code this wasn't seen because the code that grabbed the duration values from the chip could fail silently,

[PATCH v4 2/3] tpm: provide a way to override the chip returned durations

2019-09-02 Thread Jerry Snitselaar
Patch adds method ->update_durations to override returned durations in case TPM chip misbehaves for TPM 1.2 drivers. Cc: Peter Huewe Cc: Jason Gunthorpe Signed-off-by: Alexey Klimov Signed-off-by: Jerry Snitselaar Reviewed-by: Jarkko Sakkinen --- drivers/char/tpm/tpm1-cmd.c | 15

[PATCH v4 3/3] tpm_tis: override durations for STM tpm with firmware 1.2.8.28

2019-09-02 Thread Jerry Snitselaar
There was revealed a bug in the STM TPM chipset used in Dell R415s. Bug is observed so far only on chipset firmware 1.2.8.28 (1.2 TPM, device-id 0x0, rev-id 78). After some number of operations chipset hangs and stays in inconsistent state: tpm_tis 00:09: Operation Timed out tpm_tis 00:09:

[PATCH v4 1/3] tpm: Remove duplicate code from caps_show() in tpm-sysfs.c

2019-09-02 Thread Jerry Snitselaar
From: Jarkko Sakkinen Replace existing TPM 1.x version structs with new structs that consolidate the common parts into a single struct so that code duplication is no longer needed in caps_show(). Cc: Peter Huewe Cc: Jason Gunthorpe Cc: Alexey Klimov Signed-off-by: Jarkko Sakkinen

[GIT PULL] tpmdd updates for Linux v5.4

2019-09-02 Thread Jarkko Sakkinen
/rdma/rdma (2019-08-30 09:23:45 -0700) are available in the Git repository at: git://git.infradead.org/users/jjs/linux-tpmdd.git tags/tpmdd-next-20190902 for you to fetch changes up to e8bd417aab0c72bfb54465596b16085702ba0405: tpm/tpm_ftpm_tee: Document fTPM TEE driver (2019-09-02 17:08:35

Re: [PATCH 1/1] merge_config.sh: ignore unwanted grep errors

2019-09-02 Thread Jon Hunter
On 02/09/2019 15:26, Guillaume Tucker wrote: > On 02/09/2019 15:21, Jon Hunter wrote: >> >> On 02/09/2019 15:14, Guillaume Tucker wrote: >>> + Jon Hunter who hit a similar issue >> >> Thanks for adding me. >> >>> On 28/08/2019 21:19, Guillaume Tucker wrote: The merge_config.sh script

Re: [PATCH v6 1/5] kasan: support backing vmalloc space with real shadow memory

2019-09-02 Thread Daniel Axtens
Hi Mark, >> +static int kasan_depopulate_vmalloc_pte(pte_t *ptep, unsigned long addr, >> +void *unused) >> +{ >> +unsigned long page; >> + >> +page = (unsigned long)__va(pte_pfn(*ptep) << PAGE_SHIFT); >> + >> +spin_lock(_mm.page_table_lock); >> + >>

Re: [PATCH v2 5/6] mdev: Update sysfs documentation

2019-09-02 Thread Cornelia Huck
On Fri, 30 Aug 2019 13:10:17 + Parav Pandit wrote: > > -Original Message- > > From: Cornelia Huck > > Sent: Friday, August 30, 2019 6:19 PM > > To: Parav Pandit > > Cc: alex.william...@redhat.com; Jiri Pirko ; > > kwankh...@nvidia.com; da...@davemloft.net; k...@vger.kernel.org;

Re: [PATCH v4 07/11] lib/vsprintf: Remove support for %pF and %pf in favour of %pS and %ps

2019-09-02 Thread Petr Mladek
On Mon 2019-09-02 11:32:36, Sakari Ailus wrote: > %pS and %ps are now the preferred conversion specifiers to print function > names. The functionality is equivalent; remove the old, deprecated %pF > and %pf support. Hmm, I see the following in master: $> git grep %pF

Re: [PATCH] pinctrl-mcp23s08: Fix property-name in dt-example

2019-09-02 Thread Rob Herring
On Wed, 28 Aug 2019 15:56:09 -0400, Peter Vernia wrote: > The device-tree properties documentation-file specifies the property > "microchip,spi-present-mask" as required for MCP23SXX chips. However, > the device-tree-source example below it uses only "spi-present-mask". > Without "microchip," on

RE: [PATCH V2] x86/Hyper-V: Fix overflow issue in the fill_gva_list()

2019-09-02 Thread Michael Kelley
From: Tianyu Lan Sent: Monday, September 2, 2019 5:42 AM > > When the 'start' parameter is >= 0xFF00 on 32-bit > systems, or >= 0x'FF00 on 64-bit systems, > fill_gva_list gets into an infinite loop. With such inputs, > 'cur' overflows after adding HV_TLB_FLUSH_UNIT and always

Re: [PATCH v2] kunit: fix failure to build without printk

2019-09-02 Thread shuah
On 9/2/19 6:52 AM, Petr Mladek wrote: On Fri 2019-08-30 16:37:10, Brendan Higgins wrote: On Fri, Aug 30, 2019 at 11:22:43PM +, tim.b...@sony.com wrote: -Original Message- From: Brendan Higgins On Fri, Aug 30, 2019 at 3:46 PM Joe Perches wrote: On Fri, 2019-08-30 at 21:58 +,

Re: [PATCH v4 2/9] dt-bindings: i2c: add bindings for i2c analog and digital filter

2019-09-02 Thread Peter Rosin
On 2019-09-02 16:15, eugen.hris...@microchip.com wrote: > > > On 02.09.2019 13:49, Peter Rosin wrote: > >> On 2019-09-02 12:12, eugen.hris...@microchip.com wrote: >>> From: Eugen Hristev >>> >>> Some i2c controllers have a built-in digital or analog filter. >>> This is specifically required

[PATCH -next] virtio-fs: Add missing include file

2019-09-02 Thread YueHaibing
fs/fuse/virtio_fs.c: In function virtio_fs_requests_done_work: fs/fuse/virtio_fs.c:348:6: error: implicit declaration of function zero_user_segment; did you mean get_user_pages? [-Werror=implicit-function-declaration] zero_user_segment(page, len, thislen); ^

Re: [PATCH v7 07/11] dt-bindings: pwm: pwm-mediatek: add a property "num-pwms"

2019-09-02 Thread Rob Herring
On Fri, Aug 30, 2019 at 11:57:13AM +0800, Sam Shih wrote: > From: Ryder Lee > > This adds a property "num-pwms" in example so that we could > specify the number of PWM channels via device tree. Please respond to my questions on v5. > > Signed-off-by: Ryder Lee > Signed-off-by: Sam Shih >

Re: [BUG] Use of probe_kernel_address() in task_rcu_dereference() without checking return value

2019-09-02 Thread Oleg Nesterov
On 09/02, Peter Zijlstra wrote: > > On Mon, Sep 02, 2019 at 03:40:03PM +0200, Oleg Nesterov wrote: > > diff --git a/include/linux/sched.h b/include/linux/sched.h > > index 8dc1811..1f9b021 100644 > > --- a/include/linux/sched.h > > +++ b/include/linux/sched.h > > @@ -1134,7 +1134,10 @@ struct

Re: [PATCH] HID: apple: Fix stuck function keys when using FN

2019-09-02 Thread João Moreno
Hi Benjamin, First of all, sorry for the late reply. Turns out a newborn baby can keep one quite busy, who would have known? :) On Tue, 27 Aug 2019 at 18:57, Benjamin Tissoires wrote: > > Hi João, > > On 8/12/19 6:57 PM, Benjamin Tissoires wrote: > > Hi João, > > > > On Thu, Aug 8, 2019 at

Re: [PATCH v2 1/6] mdev: Introduce sha1 based mdev alias

2019-09-02 Thread Cornelia Huck
On Fri, 30 Aug 2019 15:45:13 + Parav Pandit wrote: > > > > > > This detour via the local variable looks weird to me. Can you > > > > > > either create the alias directly in the mdev (would need to > > > > > > happen later in the function, but I'm not sure why you generate > > > > > > the

Re: [PATCH -tip] kprobes: Prohibit probing on BUG() and WARN() address

2019-09-02 Thread kbuild test robot
Hi Masami, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [cannot apply to v5.3-rc6 next-20190902] [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 1/1] merge_config.sh: ignore unwanted grep errors

2019-09-02 Thread Guillaume Tucker
On 02/09/2019 15:32, Jon Hunter wrote: > > On 02/09/2019 15:26, Guillaume Tucker wrote: >> On 02/09/2019 15:21, Jon Hunter wrote: >>> >>> On 02/09/2019 15:14, Guillaume Tucker wrote: + Jon Hunter who hit a similar issue >>> >>> Thanks for adding me. >>> On 28/08/2019 21:19, Guillaume

[PATCH][usb-next] usb: cdns3: fix missing assignment of ret before error check on ret

2019-09-02 Thread Colin King
From: Colin Ian King Currently the check on a non-zero return code in ret is false because ret has been initialized to zero. I believe that ret should be assigned to the return from the call to readl_poll_timeout_atomic before the check on ret. Since ret is being re-assinged the original

Re: [PATCH 11/13] dt-bindings: mips: Add loongson cpus & boards

2019-09-02 Thread Rob Herring
On Tue, Aug 27, 2019 at 9:41 PM Paul Burton wrote: > > Hi guys, > > On Tue, Aug 27, 2019 at 10:18:46PM +0800, Jiaxun Yang wrote: > > On 2019/8/27 下午8:45, Rob Herring wrote: > > > On Tue, Aug 27, 2019 at 3:55 AM Jiaxun Yang > > > wrote: > > > > diff --git

Re: [PATCH 1/5] dt-bindings: arm: idle-states: Use "e.g." and "i.e." consistently

2019-09-02 Thread Rob Herring
On Fri, 30 Aug 2019 17:02:58 +0200, Geert Uytterhoeven wrote: > Replace abbreviations "eg" and "ie" by "e.g." resp. "i.e." for > consistency. > > Signed-off-by: Geert Uytterhoeven > --- > .../devicetree/bindings/arm/idle-states.txt | 16 > 1 file changed, 8 insertions(+),

[PATCH] x86/PCI: Remove D0 PME capability on AMD FCH xHCI

2019-09-02 Thread Kai-Heng Feng
There's an xHCI device that doesn't wake when a USB 2.0 device gets plugged to its USB 3.0 port. The driver's own runtime suspend callback was called, PME# signaling was enabled, but it stays at PCI D0: 00:10.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller

Re: [PATCH 2/2] iommu: dma: Use of_iommu_get_resv_regions()

2019-09-02 Thread Thierry Reding
On Mon, Sep 02, 2019 at 03:22:35PM +0100, Robin Murphy wrote: > On 29/08/2019 12:14, Thierry Reding wrote: > > From: Thierry Reding > > > > For device tree nodes, use the standard of_iommu_get_resv_regions() > > implementation to obtain the reserved memory regions associated with a > > device. >

Re: [PATCH 3/5] dt-bindings: arm: idle-states: Correct "constraint guarantees"

2019-09-02 Thread Rob Herring
On Fri, 30 Aug 2019 17:03:00 +0200, Geert Uytterhoeven wrote: > Correct "constraints guarantees" to "constraint guarantees". > > Signed-off-by: Geert Uytterhoeven > --- > Documentation/devicetree/bindings/arm/idle-states.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Applied,

Re: [PATCH 1/1] merge_config.sh: ignore unwanted grep errors

2019-09-02 Thread Jon Hunter
On 02/09/2019 15:49, Guillaume Tucker wrote: > On 02/09/2019 15:32, Jon Hunter wrote: >> >> On 02/09/2019 15:26, Guillaume Tucker wrote: >>> On 02/09/2019 15:21, Jon Hunter wrote: On 02/09/2019 15:14, Guillaume Tucker wrote: > + Jon Hunter who hit a similar issue Thanks

Re: [PATCH 2/5] dt-bindings: arm: idle-states: Correct references to wake-up delay

2019-09-02 Thread Rob Herring
On Fri, 30 Aug 2019 17:02:59 +0200, Geert Uytterhoeven wrote: > The paragraph explains the use of wakup-delay, as defined above. > > Signed-off-by: Geert Uytterhoeven > --- > Documentation/devicetree/bindings/arm/idle-states.txt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >

Re: [PATCH v6 1/5] kasan: support backing vmalloc space with real shadow memory

2019-09-02 Thread Mark Rutland
On Tue, Sep 03, 2019 at 12:32:49AM +1000, Daniel Axtens wrote: > Hi Mark, > > >> +static int kasan_depopulate_vmalloc_pte(pte_t *ptep, unsigned long addr, > >> + void *unused) > >> +{ > >> + unsigned long page; > >> + > >> + page = (unsigned

Re: [PATCH 5/5] dt-bindings: arm: idle-states: Move exit-latency-us explanation

2019-09-02 Thread Rob Herring
On Fri, 30 Aug 2019 17:03:02 +0200, Geert Uytterhoeven wrote: > Move exit-latency-us explanation to exit-latency-us section. > > Signed-off-by: Geert Uytterhoeven > --- > Documentation/devicetree/bindings/arm/idle-states.txt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >

Re: [PATCH 4/5] dt-bindings: arm: idle-states: Add punctuation to improve readability

2019-09-02 Thread Rob Herring
On Fri, 30 Aug 2019 17:03:01 +0200, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven > --- > Documentation/devicetree/bindings/arm/idle-states.txt | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > Applied, thanks. Rob

Re: [PATCH v3 1/2] dt-bindings: reset: aoss: Convert AOSS reset bindings to yaml

2019-09-02 Thread Rob Herring
On Sun, 1 Sep 2019 23:14:06 +0530, Sibi Sankar wrote: > Convert AOSS reset bindings to yaml and add SC7180 AOSS reset to the list > of possible bindings. > > Signed-off-by: Sibi Sankar > --- > .../bindings/reset/qcom,aoss-reset.txt| 52 --- >

Re: [PATCH v3 2/2] dt-bindings: reset: pdc: Convert PDC Global bindings to yaml

2019-09-02 Thread Rob Herring
On Sun, 1 Sep 2019 23:14:07 +0530, Sibi Sankar wrote: > Convert PDC Global bindings to yaml and add SC7180 PDC global to the list > of possible bindings. > > Signed-off-by: Sibi Sankar > --- > .../bindings/reset/qcom,pdc-global.txt| 52 --- >

Re: [PATCH v3] virtio-net: lower min ring num_free for efficiency

2019-09-02 Thread Michael S. Tsirkin
On Tue, Aug 20, 2019 at 02:51:23AM +, ? jiang wrote: > This change lowers ring buffer reclaim threshold from 1/2*queue to budget > for better performance. According to our test with qemu + dpdk, packet > dropping happens when the guest is not able to provide free buffer in > avail ring timely

[PATCH][cifs-next] cifs: fix dereference on ses before it is null checked

2019-09-02 Thread Colin King
From: Colin Ian King The assignment of pointer server dereferences pointer ses, however, this dereference occurs before ses is null checked and hence we have a potential null pointer dereference. Fix this by only dereferencing ses after it has been null checked. Addresses-Coverity:

Re: [PATCH v3 1/6] bus/ti-pwmss: move TI PWMSS driver from PWM to bus subsystem

2019-09-02 Thread Thierry Reding
On Sun, Sep 01, 2019 at 05:58:22PM -0500, David Lechner wrote: > The TI PWMSS driver is a simple bus driver for providing power > power management for the PWM peripherals on TI AM33xx SoCs, namely > eCAP, eHRPWM and eQEP. The eQEP is a counter rather than a PWM, so > it does not make sense to have

Re: [PATCH v3 2/6] dt-bindings: counter: new bindings for TI eQEP

2019-09-02 Thread Rob Herring
On Sun, 1 Sep 2019 17:58:23 -0500, David Lechner wrote: > This documents device tree binding for the Texas Instruments Enhanced > Quadrature Encoder Pulse (eQEP) Module found in various TI SoCs. > > Signed-off-by: David Lechner > --- > > v3 changes: > - fixed style issues > - fixed generic

[PATCH 2/2] dt-bindings: power: syscon-poweroff: Convert bindings to json-schema

2019-09-02 Thread Krzysztof Kozlowski
Convert the Syscon poweroff bindings to DT schema format using json-schema. Signed-off-by: Krzysztof Kozlowski --- .../bindings/power/reset/syscon-poweroff.txt | 30 .../bindings/power/reset/syscon-poweroff.yaml | 68 +++ 2 files changed, 68 insertions(+), 30

<    1   2   3   4   5   6   7   8   9   >