Re: [PATCH v3 10/10] lib/test_printf: Add tests for %pfw printk modifier

2019-08-30 Thread Andy Shevchenko
On Thu, Aug 29, 2019 at 01:10:43PM +0300, Sakari Ailus wrote: > Add a test for the %pfw printk modifier using software nodes. > Having tests is always a good thing! Reviewed-by: Andy Shevchenko > Signed-off-by: Sakari Ailus > --- > lib/test_printf.c | 37 +

Re: [PATCH v3 09/10] lib/vsprintf: Add %pfw conversion specifier for printing fwnode names

2019-08-30 Thread Andy Shevchenko
On Thu, Aug 29, 2019 at 01:10:42PM +0300, Sakari Ailus wrote: > 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

Re: [PATCH 1/2] rtc: max77686: convert to devm_i2c_new_dummy_device()

2019-08-30 Thread Wolfram Sang
> > > I'm confused because I already applied: > > > https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git/commit/?h=rtc-next=7150710f3084de8d35ce3221eeae2caee8813f92 > > > > The above was a mass conversion to i2c_new_dummy_device() to make sure > > all in-kernel users use the API

RE: [PATCH v2 2/6] mdev: Make mdev alias unique among all mdevs

2019-08-30 Thread Parav Pandit
> -Original Message- > From: Cornelia Huck > Sent: Friday, August 30, 2019 6:11 PM > To: Parav Pandit > Cc: alex.william...@redhat.com; Jiri Pirko ; > kwankh...@nvidia.com; da...@davemloft.net; k...@vger.kernel.org; linux- > ker...@vger.kernel.org; net...@vger.kernel.org > Subject:

Re: [PATCH v1 2/2] i2c: iproc: Add full name of devicetree node to adapter name

2019-08-30 Thread Wolfram Sang
On Thu, Aug 08, 2019 at 09:07:53AM +0530, Rayagonda Kokatanur wrote: > From: Lori Hikichi > > Add the full name of the devicetree node to the adapter name. > Without this change, all adapters have the same name making it difficult > to distinguish between multiple instances. > The most obvious

[PATCH v4 0/2] drm: bridge: Add NWL MIPI DSI host controller support

2019-08-30 Thread Guido Günther
This adds initial support for the NWL MIPI DSI Host controller found on i.MX8 SoCs. It adds support for the i.MX8MQ but the same IP core can also be found on e.g. i.MX8QXP. I added the necessary hooks to support other imx8 variants but since I only have imx8mq boards to test I omitted the

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

2019-08-30 Thread Parav Pandit
> -Original Message- > From: Cornelia Huck > Sent: Friday, August 30, 2019 6:09 PM > To: Parav Pandit > Cc: alex.william...@redhat.com; Jiri Pirko ; > kwankh...@nvidia.com; da...@davemloft.net; k...@vger.kernel.org; linux- > ker...@vger.kernel.org; net...@vger.kernel.org > Subject:

[PATCH v4 2/2] drm/bridge: Add NWL MIPI DSI host controller support

2019-08-30 Thread Guido Günther
This adds initial support for the NWL MIPI DSI Host controller found on i.MX8 SoCs. It adds support for the i.MX8MQ but the same IP can be found on e.g. the i.MX8QXP. It has been tested on the Librem 5 devkit using mxsfb. Signed-off-by: Guido Günther Co-developed-by: Robert Chiras

[PATCH v4 1/2] dt-bindings: display/bridge: Add binding for NWL mipi dsi host controller

2019-08-30 Thread Guido Günther
The Northwest Logic MIPI DSI IP core can be found in NXPs i.MX8 SoCs. Signed-off-by: Guido Günther Tested-by: Robert Chiras --- .../bindings/display/bridge/nwl-dsi.yaml | 176 ++ 1 file changed, 176 insertions(+) create mode 100644

Re: [PATCH v1 1/2] i2c: iproc: Stop advertising support of SMBUS quick cmd

2019-08-30 Thread Wolfram Sang
On Thu, Aug 08, 2019 at 09:07:52AM +0530, Rayagonda Kokatanur wrote: > From: Lori Hikichi > > The driver does not support the SMBUS Quick command so remove the > flag that indicates that level of support. > By default the i2c_detect tool uses the quick command to try and > detect devices at some

Re: [PATCH v3 08/10] lib/vsprintf: OF nodes are first and foremost, struct device_nodes

2019-08-30 Thread Andy Shevchenko
On Thu, Aug 29, 2019 at 01:10:41PM +0300, Sakari Ailus wrote: > Factor out static kobject_string() function that simply calls > device_node_string(), and thus remove references to kobjects (as these are > struct device_node). Not sure. This removes "(%pO?)" error string. -- With Best Regards,

Re: [PATCH v2 02/14] soc: ti: k3: add navss ringacc driver

2019-08-30 Thread Peter Ujfalusi
Hi, On 30/07/2019 12.34, Peter Ujfalusi wrote: > From: Grygorii Strashko > > The Ring Accelerator (RINGACC or RA) provides hardware acceleration to > enable straightforward passing of work between a producer and a consumer. > There is one RINGACC module per NAVSS on TI AM65x SoCs. > > The

Re: [GIT PULL] vfs: Add support for timestamp limits

2019-08-30 Thread Arnd Bergmann
On Thu, Aug 29, 2019 at 6:12 AM Deepa Dinamani wrote: > > Hi Al, Arnd, > > This is a pull request for filling in min and max timestamps for filesystems. > I've added all the acks, and dropped the adfs patch. That will be merged > through > Russell's tree. > > Thanks, > Deepa > > The following

Re: [PATCH v1 1/1] i2c: iproc: Add i2c repeated start capability

2019-08-30 Thread Wolfram Sang
Hi everyone, > +/* > + * If 'process_call' is true, then this is a multi-msg transfer that requires > + * a repeated start between the messages. > + * More specifically, it must be a write (reg) followed by a read (data). > + * The i2c quirks are set to enforce this rule. > + */ With all the

Re: [PATCH v3 06/10] lib/vsprintf: Remove support for %pF and %pf in favour of %pS and %ps

2019-08-30 Thread Andy Shevchenko
On Thu, Aug 29, 2019 at 01:10:39PM +0300, 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. Btw, too many % in the commit message. -- With Best Regards,

Re: [PATCH 3/9] perf tools: Basic support for CGROUP event

2019-08-30 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 28, 2019 at 04:31:24PM +0900, Namhyung Kim escreveu: > Implement basic functionality to support cgroup tracking. Each cgroup > can be identified by inode number which can be read from userspace > too. The actual cgroup processing will come in the later patch. > > Cc: Adrian Hunter

Re: Kernel 5.3.x, 5.2.2+: VMware player suspend on 64/32 bit guests

2019-08-30 Thread Woody Suwalski
On Wed, Aug 28, 2019 at 10:50 AM Thomas Gleixner wrote: > > Woody, > > On Wed, 28 Aug 2019, Woody Suwalski wrote: > > > I have tried to "bisect" the config changes, and builds working/not > > working between > > rc3-rc4-rc5, and come out with the same frustrating result, that > > building a

Re: [v2 PATCH -mm] mm: account deferred split THPs into MemAvailable

2019-08-30 Thread Kirill A. Shutemov
On Wed, Aug 28, 2019 at 06:02:24PM +0200, Michal Hocko wrote: > > > > > > Any idea about a bad case? > > > > Not really. > > > > How bad you want it to get? How many processes share the page? Access > > pattern? Locking situation? > > Let's say how hard a regular user can make this? It bumped

[PATCH v2] selftests: watchdog: Add optional file argument

2019-08-30 Thread George G. Davis
Some systems have multiple watchdog devices where the first device registered is assigned to the /dev/watchdog device file. In order to test other watchdog devices, add an optional file argument for selecting non-default watchdog devices for testing. Tested-by: Eugeniu Rosca Signed-off-by:

Re: [PATCH 1/2] rtc: max77686: convert to devm_i2c_new_dummy_device()

2019-08-30 Thread Alexandre Belloni
On 30/08/2019 14:45:54+0200, Wolfram Sang wrote: > On Thu, Aug 29, 2019 at 10:57:52PM +0200, Alexandre Belloni wrote: > > On 20/08/2019 17:42:37+0200, Wolfram Sang wrote: > > > I was about to simplify the call to i2c_unregister_device() when I > > > realized that converting to

Re: [PATCH v3 07/10] lib/vsprintf: Make use of fwnode API to obtain node names and separators

2019-08-30 Thread Andy Shevchenko
On Thu, Aug 29, 2019 at 01:10:40PM +0300, Sakari Ailus wrote: > 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. > Some style comments below.

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

2019-08-30 Thread Cornelia Huck
On Thu, 29 Aug 2019 06:19:03 -0500 Parav Pandit wrote: > Updated documentation for optional read only sysfs attribute. I'd probably merge this into the patch introducing the attribute. > > Signed-off-by: Parav Pandit > --- > Documentation/driver-api/vfio-mediated-device.rst | 5 + > 1

Re: [PATCH 1/2] Bluetooth: btrtl: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY

2019-08-30 Thread Marcel Holtmann
Hi Alex, > Realtek Bluetooth controllers can do both LE scan and BR/EDR inquiry > at once, need to set HCI_QUIRK_SIMULTANEOUS_DISCOVERY quirk. > > Signed-off-by: Alex Lu > --- > drivers/bluetooth/btrtl.c | 5 + > 1 file changed, 5 insertions(+) patch has been applied to bluetooth-next tree.

Re: [PATCH v3 06/10] lib/vsprintf: Remove support for %pF and %pf in favour of %pS and %ps

2019-08-30 Thread Andy Shevchenko
On Thu, Aug 29, 2019 at 01:10:39PM +0300, 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. > > Depends-on: ("treewide: Switch printk users from %pf and %pF

Re: [PATCH 2/2] Bluetooth: btrtl: Add firmware version print

2019-08-30 Thread Marcel Holtmann
Hi Alex, > This patch is used to print fw version for debug convenience > > Signed-off-by: Alex Lu > --- > drivers/bluetooth/btrtl.c | 16 > 1 file changed, 16 insertions(+) > > diff --git a/drivers/bluetooth/btrtl.c b/drivers/bluetooth/btrtl.c > index

Re: [PATCH v3 05/10] device property: Add a function to obtain a node's prefix

2019-08-30 Thread Andy Shevchenko
On Thu, Aug 29, 2019 at 01:10:38PM +0300, Sakari Ailus wrote: > The prefix is used for printing purpose before a node, and it also works > as a separator between two nodes. > + /* Is this the root node? */ > + parent = fwnode_get_parent(fwnode); > + if (!parent) > + return

Re: [PATCH 1/2] rtc: max77686: convert to devm_i2c_new_dummy_device()

2019-08-30 Thread Wolfram Sang
On Thu, Aug 29, 2019 at 10:57:52PM +0200, Alexandre Belloni wrote: > On 20/08/2019 17:42:37+0200, Wolfram Sang wrote: > > I was about to simplify the call to i2c_unregister_device() when I > > realized that converting to devm_i2c_new_dummy_device() will simplify > > the driver a lot. So I took

Re: [PATCH v3] Bluetooth: hci_qca: wait for Pre shutdown complete event before sending the Power off pulse

2019-08-30 Thread Marcel Holtmann
Hi Harish, > When SoC receives pre shut down command, it share the same > with other COEX shared clients. So SoC needs a short time > after sending VS pre shutdown command before turning off > the regulators and sending the power off pulse. Along with > short delay, needs to wait for command

Re: [PATCH v5 1/4] dt-bindings: EDAC: Add Amazon's Annapurna Labs L1 EDAC

2019-08-30 Thread James Morse
Hi guys, On 27/08/2019 14:49, Rob Herring wrote: > On Mon, Aug 26, 2019 at 9:49 AM Hawa, Hanna wrote: >> On 8/21/2019 10:17 PM, Rob Herring wrote: >>> Why is this even in DT? AFAICT, this is all just CortexA57 core features >>> (i.e. nothing Amazon specific). The core type and the ECC

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

2019-08-30 Thread Jason Gunthorpe
On Fri, Aug 30, 2019 at 06:56:39PM +0900, Seunghun Han wrote: > I got an AMD system which had a Ryzen Threadripper 1950X and MSI > mainboard, and I had a problem with AMD's fTPM. My machine showed an error > message below, and the fTPM didn't work because of it. > > [  5.732084] tpm_crb

Re: [RESEND PATCH 0/5] Add bluetooth support for Orange Pi 3

2019-08-30 Thread Marcel Holtmann
Hi Maxime, >>> (Resend to add missing lists, sorry for the noise.) >>> >>> This series implements bluetooth support for Xunlong Orange Pi 3 board. >>> >>> The board uses AP6256 WiFi/BT 5.0 chip. >>> >>> Summary of changes: >>> >>> - add more delay to let initialize the chip >>> - let the

Re: [PATCH v4 03/10] device property: Add functions for accessing node's parents

2019-08-30 Thread Andy Shevchenko
On Thu, Aug 29, 2019 at 01:44:01PM +0300, Sakari Ailus wrote: > 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. >

Re: [PATCH v2 2/6] mdev: Make mdev alias unique among all mdevs

2019-08-30 Thread Cornelia Huck
On Thu, 29 Aug 2019 06:19:00 -0500 Parav Pandit wrote: > Mdev alias should be unique among all the mdevs, so that when such alias > is used by the mdev users to derive other objects, there is no > collision in a given system. > > Signed-off-by: Parav Pandit > > --- > Changelog: > v1->v2: > -

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

2019-08-30 Thread Cornelia Huck
On Fri, 30 Aug 2019 12:33:22 + Parav Pandit wrote: > > -Original Message- > > From: Cornelia Huck > > Sent: Friday, August 30, 2019 2:47 PM > > To: Parav Pandit > > Cc: alex.william...@redhat.com; Jiri Pirko ; > > kwankh...@nvidia.com; da...@davemloft.net; k...@vger.kernel.org;

Re: [PATCH v3 04/10] device property: Add fwnode_get_name for returning the name of a node

2019-08-30 Thread Andy Shevchenko
On Thu, Aug 29, 2019 at 01:10:37PM +0300, Sakari Ailus wrote: > 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. > Reviewed-by: Andy

Re: [PATCH] MAINTAINERS: i2c mv64xxx: Update documentation path

2019-08-30 Thread Wolfram Sang
On Tue, Aug 13, 2019 at 09:09:13AM +0300, Denis Efremov wrote: > Update MAINTAINERS record to reflect the file move > from i2c-mv64xxx.txt to marvell,mv64xxx-i2c.yaml. > > Cc: Maxime Ripard > Cc: Gregory CLEMENT > Cc: linux-...@vger.kernel.org > Fixes: f8bbde72ef44 ("dt-bindings: i2c: mv64xxx:

Re: poisoned pages do not play well in the buddy allocator

2019-08-30 Thread Michal Hocko
On Fri 30-08-19 12:45:35, Oscar Salvador wrote: > On Tue, Aug 27, 2019 at 09:28:13AM +0200, Oscar Salvador wrote: > > On Tue, Aug 27, 2019 at 01:34:29AM +, Naoya Horiguchi wrote: > > > > @Naoya: I could give it a try if you are busy. > > > > > > Thanks for raising hand. That's really

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

2019-08-30 Thread Parav Pandit
> -Original Message- > From: Cornelia Huck > Sent: Friday, August 30, 2019 2:47 PM > To: Parav Pandit > Cc: alex.william...@redhat.com; Jiri Pirko ; > kwankh...@nvidia.com; da...@davemloft.net; k...@vger.kernel.org; linux- > ker...@vger.kernel.org; net...@vger.kernel.org > Subject:

Re: [PATCH v3 03/10] device property: Add functions for accessing node's parents

2019-08-30 Thread Andy Shevchenko
On Thu, Aug 29, 2019 at 01:10:36PM +0300, Sakari Ailus wrote: > 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. >

Re: [PATCH v3 01/10] software node: Get reference to parent swnode in get_parent op

2019-08-30 Thread Andy Shevchenko
On Thu, Aug 29, 2019 at 01:10:34PM +0300, Sakari Ailus wrote: > 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:

pull request: Linux-firmware: Add cxgb4 firmware config files

2019-08-30 Thread Vishal Kulkarni
Hi, Chelsio driver loads firmware configuration file to allow firmware to distribute resources before chip bring up. Chelsio NIC driver, cxgb4 searches for firmware config file at /lib/firmware/cxgb4/ directory. Two predefined configuration files are available - default and hashfilter. Default

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

2019-08-30 Thread Bjorn Helgaas
[+cc Krzysztof] On Thu, Aug 29, 2019 at 10:23 PM Stephen Rothwell wrote: > > Hi all, > > After merging the pci tree, today's linux-next build (x86_64 allmodconfig) > failed like this: > > drivers/pci/controller/dwc/pcie-tegra194.c:24:10: fatal error: > linux/pci-aspm.h: No such file or

Re: linux-next: manual merge of the arm-soc tree with the arm tree

2019-08-30 Thread Arnd Bergmann
On Fri, Aug 30, 2019 at 1:27 AM Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the arm-soc tree got a conflict in: > > arch/arm/mach-iop13xx/pci.c > > between commit: > > 4af014984273 ("ARM: 8871/1: iop13xx: Simplify iop13xx_atu{e,x}_pci_status > checks") > > from the

[PATCH v3] Bluetooth: hci_qca: wait for Pre shutdown complete event before sending the Power off pulse

2019-08-30 Thread Harish Bandi
From: Harish Bandi When SoC receives pre shut down command, it share the same with other COEX shared clients. So SoC needs a short time after sending VS pre shutdown command before turning off the regulators and sending the power off pulse. Along with short delay, needs to wait for command

Re: [PATCH v3 02/10] software node: Make argument to to_software_node const

2019-08-30 Thread Heikki Krogerus
On Thu, Aug 29, 2019 at 01:10:35PM +0300, Sakari Ailus wrote: > 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 OK by me. Reviewed-by:

Re: [PATCH v3 01/10] software node: Get reference to parent swnode in get_parent op

2019-08-30 Thread Heikki Krogerus
On Thu, Aug 29, 2019 at 01:10:34PM +0300, Sakari Ailus wrote: > 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:

[PATCH 2/2] Bluetooth: btrtl: Add firmware version print

2019-08-30 Thread Alex Lu
From: Alex Lu This patch is used to print fw version for debug convenience Signed-off-by: Alex Lu --- drivers/bluetooth/btrtl.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/bluetooth/btrtl.c b/drivers/bluetooth/btrtl.c index b7487ab99eed..7219eb98d02d 100644

[PATCH 1/2] Bluetooth: btrtl: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY

2019-08-30 Thread Alex Lu
From: Alex Lu Realtek Bluetooth controllers can do both LE scan and BR/EDR inquiry at once, need to set HCI_QUIRK_SIMULTANEOUS_DISCOVERY quirk. Signed-off-by: Alex Lu --- drivers/bluetooth/btrtl.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/bluetooth/btrtl.c

Re: [PATCH v3 02/10] software node: Make argument to to_software_node const

2019-08-30 Thread Andy Shevchenko
On Thu, Aug 29, 2019 at 01:10:35PM +0300, Sakari Ailus wrote: > 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(). > Reviewed-by: Andy Shevchenko > Signed-off-by: Sakari

Re: [PATCH v3 01/10] software node: Get reference to parent swnode in get_parent op

2019-08-30 Thread Andy Shevchenko
On Thu, Aug 29, 2019 at 01:10:34PM +0300, Sakari Ailus wrote: > 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:

[PATCH v2] staging: rts5208: Fix checkpath warning

2019-08-30 Thread P SAI PRASANTH
This patch fixes the following checkpath warning in the file drivers/staging/rts5208/rtsx_transport.c:546 WARNING: line over 80 characters + option = RTSX_SG_VALID | RTSX_SG_END | RTSX_SG_TRANS_DATA; Signed-off-by: P SAI PRASANTH --- Changes in v2: -restructured

[PATCH v2] staging: rts5208: Fixed checkpath warning.

2019-08-30 Thread Prakhar Sinha
This patch solves the following checkpatch.pl's message in drivers/staging/rts5208/rtsx_transport.c:397. WARNING: line over 80 characters + option = RTSX_SG_VALID | RTSX_SG_END | RTSX_SG_TRANS_DATA; Signed-off-by: Prakhar Sinha --- Changes in v2: -

Re: [PATCH] binder: Use kmem_cache for binder_thread

2019-08-30 Thread Christian Brauner
On Fri, Aug 30, 2019 at 08:38:51AM +0200, Greg KH 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 08:42:29AM +0200, Greg KH wrote: > > > > On Thu, Aug 29, 2019 at

Re: [PATCH 5/7] arm64: compat: vdso: Remove unused VDSO_HAS_32BIT_FALLBACK

2019-08-30 Thread Catalin Marinas
On Thu, Aug 29, 2019 at 12:18:41PM +0100, Vincenzo Frascino wrote: > As a consequence of Commit 623fa33f7bd6 ("lib:vdso: Remove > VDSO_HAS_32BIT_FALLBACK") VDSO_HAS_32BIT_FALLBACK define is not > required anymore hence can be removed. > > Remove unused VDSO_HAS_32BIT_FALLBACK from arm64 compat

Re: [PATCH 1/7] arm64: compat: vdso: Expose BUILD_VDSO32

2019-08-30 Thread Catalin Marinas
On Thu, Aug 29, 2019 at 12:18:37PM +0100, Vincenzo Frascino wrote: > clock_gettime32 and clock_getres_time32 should be compiled only with the > 32 bit vdso library. > > Expose BUILD_VDSO32 when arm64 compat is compiled, to provide an > indication to the generic library to include these symbols. >

Re: [PATCH v2 00/14] dmaengine/soc: Add Texas Instruments UDMA support

2019-08-30 Thread Peter Ujfalusi
Hi, On 30/07/2019 12.34, Peter Ujfalusi wrote: > Changes since v1 > (https://patchwork.kernel.org/project/linux-dmaengine/list/?series=114105=*) > - Added support for j721e > - Based on 5.3-rc2 > - dropped ti_sci API patch for RM management as it is already upstream > - dropped

Re: [PATCH] Makefile: Convert -Wimplicit-fallthrough to -Wimplicit-fallthrough=2

2019-08-30 Thread Miguel Ojeda
On Fri, Aug 30, 2019 at 1:09 PM Joe Perches wrote: > > On Thu, 2019-08-29 at 14:02 +0200, Michal Suchanek wrote: > > In particular the default value of 3 does not match the comments like > > /* falls through to do foobar */ > > How many comments are there like this in the kernel? +1 Given we are

[PATCH 1/3] powerpc/mm: Initialize the HPTE encoding values

2019-08-30 Thread Laurent Dufour
Before reading the HPTE encoding values we initialize all of them to -1 (an invalid value) to later being able to detect the initialized ones. Signed-off-by: Laurent Dufour --- arch/powerpc/mm/book3s64/hash_utils.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git

[PATCH 2/3] powperc/mm: read TLB Block Invalidate Characteristics

2019-08-30 Thread Laurent Dufour
The PAPR document specifies the TLB Block Invalidate Characteristics which is telling which couple base page size / page size is supported by the H_BLOCK_REMOVE hcall. A new set of feature is added to the mmu_psize_def structure to record per base page size which page size is supported by

[PATCH 3/3] powerpc/mm: call H_BLOCK_REMOVE when supported

2019-08-30 Thread Laurent Dufour
Instead of calling H_BLOCK_REMOVE all the time when the feature is exhibited, call this hcall only when the couple base page size, page size is supported as reported by the TLB Invalidate Characteristics. For regular pages and hugetlb, the assumption is made that the page size is equal to the

[PATCH 0/3] powerpc/mm: Conditionally call H_BLOCK_REMOVE

2019-08-30 Thread Laurent Dufour
Since the commit ba2dd8a26baa ("powerpc/pseries/mm: call H_BLOCK_REMOVE"), the call to H_BLOCK_REMOVE is always done if the feature is exhibited. On some system, the hypervisor may not support all the combination of segment base page size and page size. When this happens the hcall is returning

Re: [PATCH AUTOSEL 5.2 51/76] x86/boot/compressed/64: Fix boot on machines with broken E820 table

2019-08-30 Thread Sasha Levin
On Fri, Aug 30, 2019 at 01:17:23AM +0300, Kirill A. Shutemov wrote: On Thu, Aug 29, 2019 at 02:12:46PM -0400, Sasha Levin wrote: From: "Kirill A. Shutemov" [ Upstream commit 0a46fff2f9108c2c44218380a43a736cf4612541 ] BIOS on Samsung 500C Chromebook reports very rudimentary E820 table that

Re: [PATCH] staging: exfat: add exfat filesystem code to staging

2019-08-30 Thread Gao Xiang
Hi Dan, On Fri, Aug 30, 2019 at 02:26:12PM +0300, Dan Carpenter wrote: > On Fri, Aug 30, 2019 at 04:43:33PM +0800, Gao Xiang wrote: > > Hi Dan, > > > > On Fri, Aug 30, 2019 at 11:34:45AM +0300, Dan Carpenter wrote: > > > On Fri, Aug 30, 2019 at 12:04:41AM +0800, Gao Xiang wrote: > > > > Anyway,

Re: Checking usage of likeliness annotations

2019-08-30 Thread Markus Elfring
> I'm also curious about that, what is the filesystem or kernel standard about > likely/unlikely use (since I didn't find some documented standard > so I used in my personal way, Such information is helpful. > I think it is reasonable at least to cover all error handling paths), I hope so,

Re: [PATCH 2/2] touchscreen: goodix: define GPIO mapping for GPD P2 Max

2019-08-30 Thread Andy Shevchenko
On Fri, Aug 30, 2019 at 08:00:24AM +0800, Peter Cai wrote: > The firmware of GPD P2 Max could not handle panel resets although code > is present in DSDT. The kernel needs to take on this job instead, but > the DSDT does not provide _DSD, rendering kernel helpless when trying to > find the

Re: [PATCH] staging: exfat: add exfat filesystem code to staging

2019-08-30 Thread David Sterba
On Fri, Aug 30, 2019 at 10:06:25AM +0800, Chao Yu wrote: > On 2019/8/29 23:43, Dan Carpenter wrote: > >> p.s. There are 2947 (un)likely places in fs/ directory. > > > > I was complaining about you adding new pointless ones, not existing > > ones. The likely/unlikely annotations are supposed to

Applied "spi: npcm-fiu: add NPCM FIU controller driver" to the spi tree

2019-08-30 Thread Mark Brown
The patch spi: npcm-fiu: add NPCM FIU controller driver has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Applied "dt-binding: spi: add NPCM FIU controller" to the spi tree

2019-08-30 Thread Mark Brown
The patch dt-binding: spi: add NPCM FIU controller has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.4 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

Applied "ASoC: fsl_ssi: Fix clock control issue in master mode" to the asoc tree

2019-08-30 Thread Mark Brown
The patch ASoC: fsl_ssi: Fix clock control issue in master mode has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "MAINTAINERS: Add keyword pattern on regulator_get_optional()" to the regulator tree

2019-08-30 Thread Mark Brown
The patch MAINTAINERS: Add keyword pattern on regulator_get_optional() has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime

Applied "regulator: mt6358: Add BROKEN dependency while waiting for MFD to merge" to the regulator tree

2019-08-30 Thread Mark Brown
The patch regulator: mt6358: Add BROKEN dependency while waiting for MFD to merge has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually

Applied "spi: bcm-qspi: Make BSPI default mode" to the spi tree

2019-08-30 Thread Mark Brown
The patch spi: bcm-qspi: Make BSPI default mode has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.4 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

Re: [PATCH] ASoC: sun4i-i2s: incorrect regmap for A83t

2019-08-30 Thread Mark Brown
On Wed, Aug 21, 2019 at 06:23:20PM +0200, codekip...@gmail.com wrote: > From: Marcus Cooper > > Fixes: 21faaea1343f ("ASoC: sun4i-i2s: Add support for A83T") > Signed-off-by: Marcus Cooper > --- This doesn't apply against current code, please check and resend. signature.asc Description: PGP

Re: [PATCH 2/2] w1: add DS2501, DS2502, DS2505 EPROM device driver

2019-08-30 Thread kbuild test robot
/Thomas-Bogendoerfer/w1-add-1-wire-master-driver-for-IP-block-found-in-SGI-ASICs/20190830-122322 If you fix the issue, kindly add following tag Reported-by: kbuild test robot coccinelle warnings: (new ones prefixed by >>) >> drivers/w1/slaves/w1_ds250x.c:215:1-3: WARNING: PTR_ERR

[PATCH] w1: fix ptr_ret.cocci warnings

2019-08-30 Thread kbuild test robot
") CC: Thomas Bogendoerfer Signed-off-by: kbuild test robot --- url: https://github.com/0day-ci/linux/commits/Thomas-Bogendoerfer/w1-add-1-wire-master-driver-for-IP-block-found-in-SGI-ASICs/20190830-122322 w1_ds250x.c |5 + 1 file changed, 1 insertion(+), 4 deletions(-) --- a/

Re: [PATCH 1/2] gpio: acpi: add quirk to override GpioInt polarity

2019-08-30 Thread Andy Shevchenko
On Fri, Aug 30, 2019 at 08:00:23AM +0800, Peter Cai wrote: > On GPD P2 Max, the firmware could not reset the touch panel correctly. > The kernel needs to take on the job instead, but the GpioInt definition > in DSDT specifies ActiveHigh while the GPIO pin should actually be > ActiveLow. > > We

Re: [PATCH v2 4/4] binder: Add binder_proc logging to binderfs

2019-08-30 Thread Christian Brauner
On Thu, Aug 29, 2019 at 02:18:12PM -0700, Hridya Valsaraju wrote: > Currently /sys/kernel/debug/binder/proc contains > the debug data for every binder_proc instance. > This patch makes this information also available > in a binderfs instance mounted with a mount option > "stats=global" in addition

Re: [PATCH][V2] wimax/i2400m: remove debug containing bogus calculation of index

2019-08-30 Thread Dan Carpenter
On Fri, Aug 30, 2019 at 10:07:11AM +0100, Colin King wrote: > From: Colin Ian King > > The subtraction of the two pointers is automatically scaled by the > size of the size of the object the pointers point to, so the division > by sizeof(*i2400m->barker) is incorrect. This has been broken since

[PATCH] regulator: mt6358: Add BROKEN dependency while waiting for MFD to merge

2019-08-30 Thread Mark Brown
The mt6358 driver was merged in error, it depends on an existing MFD rather than a newly added one and needs updates to that driver. Disable the build until those are merged. Reported-by: Stephen Rothwell Signed-off-by: Mark Brown --- drivers/regulator/Kconfig | 2 +- 1 file changed, 1

Re: [PATCH v2 3/4] binder: Make transaction_log available in binderfs

2019-08-30 Thread Christian Brauner
On Thu, Aug 29, 2019 at 02:18:11PM -0700, Hridya Valsaraju wrote: > Currently, the binder transaction log files 'transaction_log' > and 'failed_transaction_log' live in debugfs at the following locations: > > /sys/kernel/debug/binder/failed_transaction_log >

Re: [PATCH] perf/x86/intel: Update ICL Core and Package C-state event counters

2019-08-30 Thread Peter Zijlstra
On Fri, Jul 26, 2019 at 05:08:46PM +0800, Harry Pan wrote: > Ice Lake microarchitecture inherits Cannon Lake, it has CC1/PC8/PC9/PC10 > residency counters. > > Update the list of Ice Lake PMU event counters from the snb_cstates[] list > of events to the cnl_cstates[] list of events, which keeps

Re: [PATCH v2 07/15] dt: thermal: tsens: Document interrupt support in tsens driver

2019-08-30 Thread Amit Kucheria
On Thu, Aug 29, 2019 at 10:04 PM Amit Kucheria wrote: > > On Thu, Aug 29, 2019 at 8:23 PM Stephen Boyd wrote: > > > > Quoting Amit Kucheria (2019-08-29 01:48:27) > > > On Wed, Aug 28, 2019 at 6:03 AM Stephen Boyd wrote: > > > > > > > > Quoting Amit Kucheria (2019-08-27 05:14:03) > > > > >

Re: [EXT] [PATCH v3 2/2] drm/bridge: Add NWL MIPI DSI host controller support

2019-08-30 Thread Guido Günther
Hi, On Thu, Aug 29, 2019 at 09:40:20AM +, Robert Chiras wrote: > Hi Guido, > > One more thing for you to add in v4, see inline. > > On Jo, 2019-08-22 at 12:44 +0200, Guido Günther wrote: > > This adds initial support for the NWL MIPI DSI Host controller found > > on > > i.MX8 SoCs. > > > >

Re: [PATCH v2 2/4] binder: Add stats, state and transactions files

2019-08-30 Thread Christian Brauner
On Thu, Aug 29, 2019 at 02:18:10PM -0700, Hridya Valsaraju wrote: > The following binder stat files currently live in debugfs. > > /sys/kernel/debug/binder/state > /sys/kernel/debug/binder/stats > /sys/kernel/debug/binder/transactions > > This patch makes these files available in a binderfs

Re: [PATCH] staging: exfat: add exfat filesystem code to staging

2019-08-30 Thread Dan Carpenter
On Fri, Aug 30, 2019 at 04:43:33PM +0800, Gao Xiang wrote: > Hi Dan, > > On Fri, Aug 30, 2019 at 11:34:45AM +0300, Dan Carpenter wrote: > > On Fri, Aug 30, 2019 at 12:04:41AM +0800, Gao Xiang wrote: > > > Anyway, I'm fine to delete them all if you like, but I think majority of > > > these > > >

Re: [RFC][PATCH 12/13] sched/deadline: Introduce deadline servers

2019-08-30 Thread Peter Zijlstra
On Thu, Aug 08, 2019 at 11:45:46AM +0200, Juri Lelli wrote: > I'd like to take this last sentence back, I was able to run a few boot + > hackbench + shutdown cycles with the following applied (guess too much > debug printks around before). I've changed that slightly; the merged delta looks like:

Re: [PATCH 2/3] ASoC: es8316: Add clock control of MCLK

2019-08-30 Thread Mark Brown
On Fri, Aug 30, 2019 at 02:32:04AM +0900, Katsuhiro Suzuki wrote: > + es8316->mclk = devm_clk_get(component->dev, "mclk"); > + if (PTR_ERR(es8316->mclk) == -EPROBE_DEFER) > + return -EPROBE_DEFER; If we don't get a clock it'd be nice to at least log that in case there's

Hello Dear Friend.

2019-08-30 Thread Mrs. Stellar Maoris
Hello Dear Friend. I’m Mrs. Stellar Maoris a manger in HSBC bank of Spain Madrid, I am sending this brief letter to seek for your partnership and long term relationship, I have an important and urgent issue I want to discuss with you privately about Transaction fund worth the sum of

[PATCH] ocfs2: remove deadcode on variable tmp_oh check

2019-08-30 Thread Colin King
From: Colin Ian King At the end of cfs2_inode_lock_tracker tmp_oh is true because an earlier check on tmp_oh being false returns out of the function. Since tmp_oh is true, the function will always return 1 so remove the redundant check and return of 0. Addresses-Coverity: ("Logically dead

Re: [PATCH] arm64: numa: check the node id before accessing node_to_cpumask_map

2019-08-30 Thread Michal Hocko
On Fri 30-08-19 17:49:46, Yunsheng Lin wrote: > On 2019/8/30 16:39, Michal Hocko wrote: > > On Fri 30-08-19 16:08:14, Yunsheng Lin wrote: [...] > >> It seems the cpumask_of_node with CONFIG_DEBUG_PER_CPU_MAPS is used > >> to catch the erorr case and give a warning to user when node id is not > >>

Re: Default governor regardless of cpuidle driver

2019-08-30 Thread Joao Martins
On 8/29/19 10:51 PM, Daniel Lezcano wrote: > On 29/08/2019 23:12, Joao Martins wrote: > > [ ... ] > Say you wanted to have a kvm specific config, you would still see the same problem if you happen to compile intel_idle together with haltpoll driver+governor. >>> >>> Can a guest

Re: [PATCH] Makefile: Convert -Wimplicit-fallthrough to -Wimplicit-fallthrough=2

2019-08-30 Thread Joe Perches
On Thu, 2019-08-29 at 14:02 +0200, Michal Suchanek wrote: > In particular the default value of 3 does not match the comments like > /* falls through to do foobar */ How many comments are there like this in the kernel? Also you have to deal with gcc/clang differences. As far as I know, clang

Re: [PATCH] mm: Add nr_free_highatomimic to fix incorrect watermatk routine

2019-08-30 Thread Michal Hocko
On Fri 30-08-19 18:25:53, Sangwoo wrote: > The highatomic migrate block can be increased to 1% of Total memory. > And, this is for only highorder ( > 0 order). So, this block size is > excepted during check watermark if allocation type isn't alloc_harder. > > It has problem. The usage of

Re: [PATCH 0/4] regulator: add and use a helper for setting supply names

2019-08-30 Thread Bartosz Golaszewski
pt., 30 sie 2019 o 10:15 Thierry Reding napisał(a): > > On Fri, Aug 30, 2019 at 09:17:36AM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > There are ~80 users of regulator bulk APIs that set the supply names > > in a for loop before using the bulk helpers. > > > > This

[PATCH 1/2] habanalabs: add uapi to retrieve device utilization

2019-08-30 Thread Oded Gabbay
Users and sysadmins usually want to know what is the device utilization as a level 0 indication if they are efficiently using the device. Add a new opcode to the INFO IOCTL that will return the device utilization over the last period of 100-1000ms. The return value is 0-100, representing as

[PATCH 2/2] habanalabs: add uapi to retrieve aggregate H/W events

2019-08-30 Thread Oded Gabbay
Add a new opcode to INFO IOCTL to retrieve aggregate H/W events. i.e. the events counters are NOT cleared upon device reset, but count from the loading of the driver. Add the code to support it in the device event handling function. Signed-off-by: Oded Gabbay ---

[PATCH] xfs: add function name in xfs_trans_ail_delete function header comments

2019-08-30 Thread yu kuai
Fix following warning: make W=1 fs/xfs/xfs_trans_ail.o fs/xfs/xfs_trans_ail.c:793: warning: Function parameter or member 'ailp' not described in 'xfs_trans_ail_delete' fs/xfs/xfs_trans_ail.c:793: warning: Function parameter or member 'lip' not described in 'xfs_trans_ail_delete'

[PATCH] afs: use BIT_ULL for shifting to fix integer overflow

2019-08-30 Thread Colin King
From: Colin Ian King The expression 1 << nr_slots is evaluated with 32 bit integer arithmetic and can overflow before it is widened. Instead, use BIT_ULL to avoid overflow. Addresses-Coverity: ("Unintentional integer overflow") Fixes: 63a4681ff39c ("afs: Locally edit directory data for

Re: [PATCH v1] [semaphore] Removed redundant code from semaphore's down family of function

2019-08-30 Thread Peter Zijlstra
On Fri, Aug 30, 2019 at 04:10:10PM +0530, Satendra Singh Thakur wrote: > > +static inline long schedule_timeout(long timeout) > > +{ > > + if (__builtin_constant_p(timeout) && timeout == MAX_SCHEDULE_TIMEOUT) { > > + schedule(); > > + return timeout; > > + } > > + > > +

Re: poisoned pages do not play well in the buddy allocator

2019-08-30 Thread Oscar Salvador
On Tue, Aug 27, 2019 at 09:28:13AM +0200, Oscar Salvador wrote: > On Tue, Aug 27, 2019 at 01:34:29AM +, Naoya Horiguchi wrote: > > > @Naoya: I could give it a try if you are busy. > > > > Thanks for raising hand. That's really wonderful. I think that the series > > [1] is not > > merge yet

<    1   2   3   4   5   6   7   8   9   >