Linux 4.9.159

2019-02-20 Thread Greg KH
I'm announcing the release of the 4.9.159 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.9.159

2019-02-20 Thread Greg KH
diff --git a/Documentation/devicetree/bindings/eeprom/eeprom.txt b/Documentation/devicetree/bindings/eeprom/eeprom.txt index 735bc9bb..4dcce8ee5cee 100644 --- a/Documentation/devicetree/bindings/eeprom/eeprom.txt +++ b/Documentation/devicetree/bindings/eeprom/eeprom.txt @@ -6,7 +6,8 @@ Require

Linux 4.4.175

2019-02-20 Thread Greg KH
I'm announcing the release of the 4.4.175 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Linux 4.19.24

2019-02-20 Thread Greg KH
I'm announcing the release of the 4.19.24 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.14.102

2019-02-20 Thread Greg KH
diff --git a/Documentation/devicetree/bindings/eeprom/eeprom.txt b/Documentation/devicetree/bindings/eeprom/eeprom.txt index afc04589eadf..3c9a822d576c 100644 --- a/Documentation/devicetree/bindings/eeprom/eeprom.txt +++ b/Documentation/devicetree/bindings/eeprom/eeprom.txt @@ -6,7 +6,8 @@ Require

Re: Linux 4.19.24

2019-02-20 Thread Greg KH
diff --git a/Documentation/devicetree/bindings/eeprom/at24.txt b/Documentation/devicetree/bindings/eeprom/at24.txt index aededdbc262b..f9a7c984274c 100644 --- a/Documentation/devicetree/bindings/eeprom/at24.txt +++ b/Documentation/devicetree/bindings/eeprom/at24.txt @@ -27,6 +27,7 @@ Required prop

Linux 4.14.102

2019-02-20 Thread Greg KH
I'm announcing the release of the 4.14.102 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web browser

Re: [PATCH 1/2] drivers: provide devm_platform_ioremap_resource()

2019-02-20 Thread Linus Walleij
On Fri, Feb 15, 2019 at 4:25 PM Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > There are currently 1200+ instances of using platform_get_resource() > and devm_ioremap_resource() together in the kernel tree. > > This patch wraps these two calls in a single helper. Thanks to that > we

Re: Linux 4.20.11

2019-02-20 Thread Greg KH
diff --git a/Documentation/devicetree/bindings/eeprom/at24.txt b/Documentation/devicetree/bindings/eeprom/at24.txt index aededdbc262b..f9a7c984274c 100644 --- a/Documentation/devicetree/bindings/eeprom/at24.txt +++ b/Documentation/devicetree/bindings/eeprom/at24.txt @@ -27,6 +27,7 @@ Required prop

Linux 4.20.11

2019-02-20 Thread Greg KH
I'm announcing the release of the 4.20.11 kernel. All users of the 4.20 kernel series must upgrade. The updated 4.20.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.20.y and can be browsed at the normal kernel.org git web browser:

Re: [RFC PATCH] tools/memory-model: Remove (dep ; rfi) from ppo

2019-02-20 Thread Will Deacon
On Wed, Feb 20, 2019 at 10:26:04AM +0100, Peter Zijlstra wrote: > On Tue, Feb 19, 2019 at 06:01:17PM -0800, Paul E. McKenney wrote: > > On Tue, Feb 19, 2019 at 11:57:37PM +0100, Andrea Parri wrote: > > > Remove this subtle (and, AFAICT, unused) ordering: we can add it back, > > > if necessary, but

Re: [PATCH 1/3] [media] rc/keymaps: add keytable for Pine64 IR Remote Controller

2019-02-20 Thread Sean Young
On Mon, Feb 18, 2019 at 09:59:36PM +, Jonas Karlman wrote: > This RC map is based on remote key schema at [1], the mouse button key > did not have an obvious target and was mapped to KEY_CONTEXT_MENU. How about BTN_LEFT ? Thanks, Sean > > [1] http://files.pine64.org/doc/Pine%20A64%20Schema

Re: APUv2/v3 board support V3

2019-02-20 Thread Linus Walleij
On Fri, Feb 15, 2019 at 7:16 PM Andy Shevchenko wrote: > On Fri, Feb 15, 2019 at 12:05 AM Enrico Weigelt, metux IT consult > Linus, this one looks good enough, though some style minors can be addressed: > - redundant parens (and actually I prefer to see x = readl(); x |= > ...; writel(); in three

Re: linux-next: Tree for Feb 20

2019-02-20 Thread Jarkko Sakkinen
On Wed, Feb 20, 2019 at 11:52:52AM +0200, Jarkko Sakkinen wrote: > On Wed, Feb 20, 2019 at 05:11:15PM +0800, Zhangshaokun wrote: > > There is a compiler failure on arm64 platform, as follow: > > > > AS arch/arm64/kvm/hyp.o > > CC kernel/trace/ring_buffer.o > > In file included from s

Re: BUG: assuming atomic context at kernel/seccomp.c:LINE

2019-02-20 Thread Daniel Borkmann
On 02/20/2019 10:32 AM, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:    abf446c90405 Add linux-next specific files for 20190220 > git tree:   linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=17f250d8c0 &g

Re: [PATCH v4 2/2] irqchip: Add support for Renesas RZ/N1 GPIO interrupt multiplexer

2019-02-20 Thread Marc Zyngier
On Wed, 20 Feb 2019 09:07:02 +, Phil Edworthy wrote: > > Hi Marc > > On 19 February 2019 20:29 Marc Zyngier wrote: [...] > > > + for (i = 0; i < MAX_NR_INPUT_IRQS; i++) > > > + irq_create_mapping(priv->irq_domain, i); > > > > This should never happen. Mappings should be created fr

Re: [PULL] topic/mei-hdcp

2019-02-20 Thread Joonas Lahtinen
Quoting Daniel Vetter (2019-02-19 09:55:27) > Hi all, > > topic/mei-hdcp-2019-02-19: > Prep patches + headers for the mei-hdcp/i915 component interfaces > > Also contains the prep work in the component helpers plus adjustements > for the snd-hda/i915 component interface. > > Plus one small stati

Re: [PATCHv6 3/4] pci: layerscape: Add the EP mode support.

2019-02-20 Thread Lorenzo Pieralisi
On Wed, Feb 20, 2019 at 03:09:01AM +, Xiaowei Bao wrote: > > > -Original Message- > From: Lorenzo Pieralisi > Sent: 2019年2月19日 19:27 > To: Xiaowei Bao > Cc: bhelg...@google.com; robh...@kernel.org; mark.rutl...@arm.com; > shawn...@kernel.org; Leo Li ; kis...@ti.com; > a...@arndb.

Re: linux-next: Tree for Feb 20

2019-02-20 Thread Ard Biesheuvel
On Wed, 20 Feb 2019 at 10:58, Jarkko Sakkinen wrote: > > On Wed, Feb 20, 2019 at 11:52:52AM +0200, Jarkko Sakkinen wrote: > > On Wed, Feb 20, 2019 at 05:11:15PM +0800, Zhangshaokun wrote: > > > There is a compiler failure on arm64 platform, as follow: > > > > > > AS arch/arm64/kvm/hyp.o > >

[PATCH] cpufreq: Report if CPU doesn't report boost technologies

2019-02-20 Thread Erwan Velu
There is some rare cases where CPB (and possibly IDA) are missing on processors. This is the case fixed by commit f7f3dc00f612 ("x86/cpu/AMD: Fix erratum 1076 (CPB bit)") and following. In such context, the boost status isn't reported by /sys/devices/system/cpu/cpufreq/boost. This commit is abo

Re: [PATCH 00/10] perf: Multi-die/package support

2019-02-20 Thread Peter Zijlstra
On Tue, Feb 19, 2019 at 12:00:01PM -0800, kan.li...@linux.intel.com wrote: > From: Kan Liang > > Add Linux perf support for multi-die/package. The first product with > multi-die is Xeon Cascade Lake-AP (CLX-AP). > The code bases on the top of Len's multi-die/package support. > https://lkml.org/lk

Re: [PATCH] ARM: dts: sun7i: add pinctrl for missing uart mux options

2019-02-20 Thread Måns Rullgård
Maxime Ripard writes: > On Wed, Feb 20, 2019 at 04:58:49PM +0800, Chen-Yu Tsai wrote: >> On Sun, Feb 17, 2019 at 2:21 AM Mans Rullgard wrote: >> > >> > This adds pinctrl settings for various missing uart options. >> > >> > Signed-off-by: Mans Rullgard >> > --- >> > arch/arm/boot/dts/sun7i-a20.

[PATCH 1/2] jffs2: reset pino_nlink to 0 when inode creation failed

2019-02-20 Thread Hou Tao
So jffs2_do_clear_inode() could mark all flash nodes used by the inode as obsolete and GC procedure will reclaim these flash nodes, else these flash spaces will not be reclaimable forever. Cc: sta...@vger.kernel.org Signed-off-by: Hou Tao --- fs/jffs2/dir.c | 28 1 f

[PATCH 0/2] jffs2: fixes for file creation failed halfway

2019-02-20 Thread Hou Tao
Hi, There are the fixes for file creation which failed halfway, the first one is used to reclaim flash spaces had been used by the inode, and the second one fixes a BUG assertion in jffs2_do_read_inode(). These two problems can be reproduced by concurrently creating files until no space is left,

[PATCH 2/2] jffs2: handle INO_STATE_CLEARING in jffs2_do_read_inode()

2019-02-20 Thread Hou Tao
For inode that fails to be created midway, GC procedure may try to GC its dnode, and in the following case BUG() will be triggered: CPU 0 CPU 1 in jffs2_do_create()in jffs2_garbage_collect_pass() jffs2_write_dnode succeed // for dirent jffs2_reserve_space fail

[PATCH] jffs2: alloc spaces for inode & dirent together

2019-02-20 Thread Hou Tao
Now in jffs2_create() or its similar, the spaces used for jffs2_raw_inode and jffs2_raw_dirent are allocated separatedly. And it may lead to dead-lock between file creation thread and GC procedure thread as shown in the following case: CPU 1: CPU 2: in jffs2_create()

[PATCH] jffs2: protect no-raw-node-ref check of inocache by erase_completion_lock

2019-02-20 Thread Hou Tao
In jffs2_do_clear_inode(), we will check whether or not there is any jffs2_raw_node_ref associated with the current inocache. If there is no raw-node-ref, the inocache could be freed. And if there are still some jffs2_raw_node_ref linked in inocache->nodes, the inocache could not be freed and its f

Re: [PATCH 1/6] iio: imu: adis16480: Use the default data ready pin configuration

2019-02-20 Thread Jonathan Cameron
On Tue, 19 Feb 2019 19:12:13 +0200 Stefan Popa wrote: > The FNCTIO_CTRL register, Bits[3:0] provide three configuration options > for the data ready function: on/off, polarity, and DIOx line. The > factory default assigns DIO2 as a positive polarity, data ready signal. > > The adis16480_enable_i

Re: [PATCH] staging: erofs: remove rcu_read_lock() in erofs_try_to_free_cached_page

2019-02-20 Thread Greg Kroah-Hartman
On Wed, Feb 20, 2019 at 10:38:53AM +0800, Gao Xiang wrote: > Hi Greg, > > Could you consider take some time on these two patches for linux-5.1-rc1? > 1) staging: erofs: fix race of initializing xattrs of a inode at the same > time > 2) staging: erofs: remove rcu_read_lock() in erofs_try_to_free

Re: [PATCH] clk: at91: fix at91sam9x5 peripheral clock number

2019-02-20 Thread Nicolas.Ferre
On 19/02/2019 at 17:51, Alexandre Belloni wrote: > nck() looks at the last id in an array and unfortunately, > at91sam9x35_periphck has a sentinel, hence the id is 0 and the calculated Well, the logic for all other SoC clk files is to not have such a sentinel and deal differently with this type o

Re: KASAN: use-after-free Read in br_mdb_ip_get

2019-02-20 Thread Herbert Xu
On Mon, Jan 28, 2019 at 09:28:36AM +0100, Dmitry Vyukov wrote: > > > Weird, this is the kfree() on the error path of br_multicast_new_group() > > when rhashtable_lookup_insert_fast() fails, which means the entry should > > not be linked in the rhashtable or the hlist. > > All other frees are via kf

Re: [PATCH v6 8/9] vsprintf: Prevent crash when dereferencing invalid pointers

2019-02-20 Thread Petr Mladek
On Tue 2019-02-19 23:15:16, Sergey Senozhatsky wrote: > On (02/19/19 15:49), Andy Shevchenko wrote: > > > On (02/19/19 13:02), Andy Shevchenko wrote: > > > [..] > > > > And if it's not? You will get in either case incomplete information, > > > > but at least with "(e" (or even "(") you might get a

Re: [PATCH v4 6/6] usb:cdns3 Fix for stuck packets in on-chip OUT buffer.

2019-02-20 Thread Roger Quadros
Pawel, On 14/02/2019 21:45, Pawel Laszczak wrote: > Controller for OUT endpoints has shared on-chip buffers for all incoming > packets, including ep0out. It's FIFO buffer, so packets must be handle > by DMA in correct order. If the first packet in the buffer will not be > handled, then the followi

Re: [PATCH 0/5] DesignWare PCI improvements

2019-02-20 Thread Lorenzo Pieralisi
On Tue, Feb 19, 2019 at 12:02:37PM -0800, Andrey Smirnov wrote: > Everyone: > > This is the series is a spin-off from [imx6-dwc] containing only small > improvements that I made while reading the code and researching commit > history of pcie-designware*.c. All changes are optional, so > commits th

Re: [PATCH v2 1/3] arm64: mm: use appropriate ctors for page tables

2019-02-20 Thread Anshuman Khandual
On 02/20/2019 03:58 AM, Yu Zhao wrote: > On Tue, Feb 19, 2019 at 11:47:12AM +0530, Anshuman Khandual wrote: >> + Matthew Wilcox >> >> On 02/19/2019 11:02 AM, Yu Zhao wrote: >>> On Tue, Feb 19, 2019 at 09:51:01AM +0530, Anshuman Khandual wrote: On 02/19/2019 04:43 AM, Yu Zhao wrote

Re: [PATCH] clk: at91: fix at91sam9x5 peripheral clock number

2019-02-20 Thread Alexandre Belloni
On 20/02/2019 10:20:28+, Nicolas Ferre wrote: > On 19/02/2019 at 17:51, Alexandre Belloni wrote: > > nck() looks at the last id in an array and unfortunately, > > at91sam9x35_periphck has a sentinel, hence the id is 0 and the calculated > > Well, the logic for all other SoC clk files is to not

Re: [PATCH 2/6] iio: imu: adis16480: Add support for configurable drdy indicator

2019-02-20 Thread Jonathan Cameron
On Tue, 19 Feb 2019 19:12:14 +0200 Stefan Popa wrote: > The FNCTIO_CTRL register provides configuration control for each I/O pin > (DIO1, DIO2, DIO3 and DIO4). > > This patch adds the option to configure each DIOx pin as data ready > indicator with positive or negative polarity by reading the 'i

Re: [PATCH 3/6] iio: imu: adis16480: Add OF device ID table

2019-02-20 Thread Jonathan Cameron
On Tue, 19 Feb 2019 19:12:15 +0200 Stefan Popa wrote: > The driver does not have a struct of_device_id table, but supported > devices are registered via Device Trees. This patch adds OF device ID > table. > > Signed-off-by: Stefan Popa This is fine, I'll pick it up in v2. > --- > drivers/iio/i

Re: mremap vs sysctl_max_map_count

2019-02-20 Thread Vlastimil Babka
On 2/19/19 4:53 PM, Oscar Salvador wrote: > On Mon, Feb 18, 2019 at 02:15:35PM +0300, Kirill A. Shutemov wrote: >> On Mon, Feb 18, 2019 at 10:57:18AM +0100, Vlastimil Babka wrote: >>> IMHO it makes sense to do all such resource limit checks upfront. It >>> should all be protected by mmap_sem and th

Re: [PATCH 4/4] drm/panel: Add OSD101T2587-53TS driver

2019-02-20 Thread Peter Ujfalusi
Hi Sam, On 15/02/2019 20.07, Sam Ravnborg wrote: > Hi Peter. > > Good with more panel drivers. > Some comments in the following, please do not blindly follow them but > check that this is OK. First of all, thank you for the review and sorry for the delay! > > Sam > > On Fri, Feb 15, 201

[PATCH v4 1/3] dt-bindings: phy: Add Stingray USB PHY binding document

2019-02-20 Thread Srinath Mannam
Add DT binding document for Stingray USB PHY. Signed-off-by: Srinath Mannam Reviewed-by: Florian Fainelli Reviewed-by: Scott Branden --- .../bindings/phy/brcm,stingray-usb-phy.txt | 62 ++ 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetre

Re: [PATCH] staging: erofs: remove rcu_read_lock() in erofs_try_to_free_cached_page

2019-02-20 Thread Gao Xiang
On 2019/2/20 18:20, Greg Kroah-Hartman wrote: > On Wed, Feb 20, 2019 at 10:38:53AM +0800, Gao Xiang wrote: >> Hi Greg, >> >> Could you consider take some time on these two patches for linux-5.1-rc1? >> 1) staging: erofs: fix race of initializing xattrs of a inode at the same >> time >> 2) sta

[PATCH v4 2/3] phy: sr-usb: Add Stingray USB PHY driver

2019-02-20 Thread Srinath Mannam
USB PHY driver supports two versions of stingray USB PHYs - Version 1 is a combo PHY contains one SS and one HS PHYs. - Version 2 is a single HS PHY. These two PHY versons support both Generic xHCI host controller driver and BDC Broadcom device controller driver. Signed-off-by: Srinath Mannam

[PATCH v4 0/3] Stingray USB PHY driver support

2019-02-20 Thread Srinath Mannam
These patches add Stingray USB PHY driver and its corresponding DT nodes with documentation. This patch set is based on Linux-5.0-rc2. Changes from v3: - Addressed Rob Herring review comments - Changed compatible strings. - updated driver based on new compatible strings. Changes from

[PATCH v4 3/3] arm64: dts: Add USB DT nodes for Stingray SoC

2019-02-20 Thread Srinath Mannam
Add DT nodes for - Two xHCI host controllers - Two BDC Broadcom USB device controller - Five USB PHY controllers [xHCI0] [BDC0][xHCI1][BDC1] | | | | --- --- |

Re: [PATCH 1/2] drivers: provide devm_platform_ioremap_resource()

2019-02-20 Thread Greg Kroah-Hartman
On Fri, Feb 15, 2019 at 04:25:06PM +0100, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > There are currently 1200+ instances of using platform_get_resource() > and devm_ioremap_resource() together in the kernel tree. > > This patch wraps these two calls in a single helper. Thanks to

Re: [PATCH 4/6] iio: imu: adis16480: Treat temperature scale in a generic way

2019-02-20 Thread Jonathan Cameron
On Tue, 19 Feb 2019 19:12:16 +0200 Stefan Popa wrote: > All supported devices provide internal temperature measurement from -40 C > to +85 C, with +25 C representing value 0x00. > > This patch treats the temperature scale in a generic way, similar to the > accelerometer and gyroscope scales. So

Re: [PATCH 4/4] drm/panel: Add OSD101T2587-53TS driver

2019-02-20 Thread Peter Ujfalusi
Hi Sam, On 15/02/2019 20.07, Sam Ravnborg wrote: >> +#include >> +#include >> +#include >> +#include >> + >> +#include > Please do not use drmP.h in new drivers - we try to get rid of this file. ... >> +static int osd101t2587_panel_get_modes(struct drm_panel *panel) >> +{ >> +struct osd

Re: [PATCH] platform: set of_node in platform_device_register_full()

2019-02-20 Thread Måns Rullgård
"Rafael J. Wysocki" writes: > On Mon, Feb 18, 2019 at 12:10 PM Måns Rullgård wrote: >> >> "Rafael J. Wysocki" writes: >> >> > On Sat, Feb 16, 2019 at 5:50 PM Mans Rullgard wrote: >> >> >> >> If the provided fwnode is an OF node, set dev.of_node as well. >> >> >> >> Signed-off-by: Mans Rullgard

Re: [PATCH 5/6] iio: imu: adis16480: Add support for ADIS1649x family of devices

2019-02-20 Thread Jonathan Cameron
On Tue, 19 Feb 2019 19:12:17 +0200 Stefan Popa wrote: > The ADIS16495 and ADIS16497 are inertial systems that include a triaxis > gyroscope and a triaxis accelerometer. The serial peripheral interface > (SPI) provide a simple interface for data collection and configuration > control. The devices

Re: [PATCH] cpufreq: Report if CPU doesn't report boost technologies

2019-02-20 Thread Rafael J. Wysocki
On Wed, Feb 20, 2019 at 11:11 AM Erwan Velu wrote: > > There is some rare cases where CPB (and possibly IDA) are missing on > processors. > This is the case fixed by commit f7f3dc00f612 ("x86/cpu/AMD: Fix erratum 1076 > (CPB bit)") and following. > > In such context, the boost status isn't repor

[GIT PULL] sound fixes for 5.0

2019-02-20 Thread Takashi Iwai
Linus, please pull sound fixes for v5.0 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-5.0 The topmost commit is 268836649c07e0d38866006b5e94294b5bbc9806 sound fixes for 5.0 Here are a few last-

Re: [PATCH 2/6] iio: imu: adis16480: Add support for configurable drdy indicator

2019-02-20 Thread Popa, Stefan Serban
On Mi, 2019-02-20 at 10:29 +, Jonathan Cameron wrote: > [External] > > > On Tue, 19 Feb 2019 19:12:14 +0200 > Stefan Popa wrote: > > > > > The FNCTIO_CTRL register provides configuration control for each I/O > > pin > > (DIO1, DIO2, DIO3 and DIO4). > > > > This patch adds the option to co

Re: [PATCH 6/6] iio: imu: adis16480: Add docs for ADIS16480 IMU

2019-02-20 Thread Jonathan Cameron
On Tue, 19 Feb 2019 19:12:18 +0200 Stefan Popa wrote: > Document support for ADIS16480 Inertial Measurement Unit. > > Signed-off-by: Stefan Popa Make sure to CC the dt list as well as Rob. Just because it's normally Rob who is kind enough to review our patches, doesn't mean we shouldn't bombar

Re: [PATCH] clk: at91: fix at91sam9x5 peripheral clock number

2019-02-20 Thread Nicolas.Ferre
On 20/02/2019 at 11:29, Alexandre Belloni wrote: > On 20/02/2019 10:20:28+, Nicolas Ferre wrote: >> On 19/02/2019 at 17:51, Alexandre Belloni wrote: >>> nck() looks at the last id in an array and unfortunately, >>> at91sam9x35_periphck has a sentinel, hence the id is 0 and the calculated >> >>

Re: [PATCH 1/6] lib/string: Enable string selftesting

2019-02-20 Thread Andy Shevchenko
On Tue, Feb 19, 2019 at 11:55 PM Tobin C. Harding wrote: > On Tue, Feb 19, 2019 at 12:55:09PM +0200, Andy Shevchenko wrote: > > On Tue, Feb 19, 2019 at 4:44 AM Tobin C. Harding wrote: > > > > > > Currently we have a test module but it is not tied into the kselftest > > > infrastructure. In prepa

Re: [PATCH] platform: set of_node in platform_device_register_full()

2019-02-20 Thread Rafael J. Wysocki
On Wed, Feb 20, 2019 at 11:41 AM Måns Rullgård wrote: > > "Rafael J. Wysocki" writes: > > > On Mon, Feb 18, 2019 at 12:10 PM Måns Rullgård wrote: > >> > >> "Rafael J. Wysocki" writes: > >> > >> > On Sat, Feb 16, 2019 at 5:50 PM Mans Rullgard wrote: > >> >> > >> >> If the provided fwnode is an

Re: [PATCH] iwlwifi: mvm: Use div64_s64 instead of do_div in iwl_mvm_debug_range_resp

2019-02-20 Thread Arnd Bergmann
On Tue, Feb 19, 2019 at 7:22 PM Nathan Chancellor wrote: > > diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c > b/drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c > index e9822a3ec373..92b22250eb7d 100644 > --- a/drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c > +

Re: [PATCH] cpufreq: Report if CPU doesn't report boost technologies

2019-02-20 Thread Erwan Velu
Le 20/02/2019 à 11:41, Rafael J. Wysocki a écrit : > On Wed, Feb 20, 2019 at 11:11 AM Erwan Velu wrote: >> There is some rare cases where CPB (and possibly IDA) are missing on >> processors. >> This is the case fixed by commit f7f3dc00f612 ("x86/cpu/AMD: Fix erratum >> 1076 (CPB bit)") and foll

[PATCH] gpio: of: Restrict enable-gpio quirk to regulator-gpio

2019-02-20 Thread Thierry Reding
From: Thierry Reding Commit 0e7d6f940164 ("gpio: of: Apply regulator-gpio quirk only to enable-gpios") breaks the device tree ABI specified in the device tree bindings for fixed regulators (compatible "regulator-fixed"). According to these bindings the polarity of the GPIO is exclusively controll

Re: [PATCH 1/2] iio: chemical: pms7003: extend supported sensors list

2019-02-20 Thread Jonathan Cameron
On Sun, 17 Feb 2019 20:22:12 +0100 Tomasz Duszynski wrote: > Add other sensors to the compatible list. > > Signed-off-by: Tomasz Duszynski Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. Thanks, Jonathan > --- > drivers/iio/chemical/pm

Re: [PATCH] dt-bindings: imx: update scu resource id headfile

2019-02-20 Thread Marco Felsch
Hi Aisheng, On 19-02-20 09:49, Aisheng Dong wrote: > > From: Marco Felsch [mailto:m.fel...@pengutronix.de] > > Sent: Wednesday, February 20, 2019 4:17 PM > > On 19-02-20 03:38, Aisheng Dong wrote: > > > [...] > > > > > > > > I don't like droping some ID's (e.g. IMX_SC_R_DC_0_CAPTURE0) by > > > > >

Re: [PATCH 2/2] dt-bindings: iio: chemical: pms7003: extend supported sensors list

2019-02-20 Thread Jonathan Cameron
On Sun, 17 Feb 2019 20:22:13 +0100 Tomasz Duszynski wrote: > Add other sensors to the compatible list. > > Signed-off-by: Tomasz Duszynski Applied, This will miss the coming merge window, so will be a while before it hits mainline. Thanks, Jonathan > --- > .../bindings/iio/chemical/plantow

Re: possible deadlock in console_unlock

2019-02-20 Thread Tetsuo Handa
FTR, this topic seems to be moved to https://lkml.kernel.org/r/ebc01f4f-5b1d-4f8a-1d0d-463d5218e...@huawei.com .

Re: [PATCH net-next v2 07/10] net: phy: marvell10g: Add support for 2.5GBASET

2019-02-20 Thread Maxime Chevallier
Hello Russell, On Thu, 7 Feb 2019 23:48:24 + Russell King - ARM Linux admin wrote: >On Thu, Feb 07, 2019 at 10:49:36AM +0100, Maxime Chevallier wrote: >> The Marvell Alaska family of PHYs supports 2.5GBaseT and 5GBaseT modes, >> as defined in the 802.3bz specification. >> >> When the link p

Re: [PATCH 03/11] x86 topology: Add CPUID.1F multi-die/package support

2019-02-20 Thread Peter Zijlstra
On Mon, Feb 18, 2019 at 10:40:05PM -0500, Len Brown wrote: > From: Len Brown > > Some new systems have multiple software-visible die within each package. > The new CPUID.1F leaf can enumerate this multi-die/package topology. > > CPUID.1F a super-set of the CPUID.B "Extended Toplogy Leaf", > and

[PATCH v2 0/3] libertas_tf: fix setting the hardware address]

2019-02-20 Thread Lubomir Rintel
Hi, this is a second version of a patchset addresses a problem with libertas_tf driver, where the driver registers the interface without having the MAC address set, only setting it when the interface is brought up. It fixes an embarassing build issue and folds in fixes for things pointed up in a

Re: [PATCH 05/11] x86 topology: export die_siblings

2019-02-20 Thread Peter Zijlstra
On Tue, Feb 19, 2019 at 02:33:59PM -0500, Liang, Kan wrote: > Besides the generic document, I think we should update x86 document as well, > which is in Documentation/x86/topology.txt. > > The definition of topology_core_cpumask has to be changed to per die, right? That's what the change to match

Re: [PATCH v2 2/2] ASoC: codecs: pcm186x: Fix energysense SLEEP bit

2019-02-20 Thread Codrin.Ciubotariu
On 19.02.2019 19:06, Andrew F. Davis wrote: > On 2/19/19 10:29 AM, codrin.ciubota...@microchip.com wrote: >> From: Codrin Ciubotariu >> >> The ADCs are sleeping when the SLEEP bit is set and running when it's >> cleared, so the bit should be inverted. >> Tested on pcm1863. >> > > Did this work fo

[PATCH v2 2/3] libertas_tf: don't defer firmware loading until start()

2019-02-20 Thread Lubomir Rintel
In order to be able to get a MAC address before we register the device with ieee80211 we'll need to load the firmware way earlier. There seems to be one problem with this: the device seems to start with radio enabled and starts sending in frames right after the firmware load finishes. Disable the

[PATCH v2 1/3] libertas_tf: move hardware callbacks to a separate structure

2019-02-20 Thread Lubomir Rintel
We'll need to talk to the firmware to get a hardware address before device is registered with ieee80211 subsystem at the end of lbtf_add_card(). Hooking the callbacks after that is too late. Signed-off-by: Lubomir Rintel --- drivers/net/wireless/marvell/libertas_tf/cmd.c | 2 +- .../net/wirele

[PATCH v2 3/3] libertas_tf: get the MAC address before registering the device

2019-02-20 Thread Lubomir Rintel
The start() callback is too late for this: NetworkManager would already have seen the hardware, thinking 00:00:00:00:00:00 is its permanent address. Signed-off-by: Lubomir Rintel Reviewed-by: Steve deRosier --- .../net/wireless/marvell/libertas_tf/main.c | 57 --- 1 file chang

[PATCHv2 2/2] perf evsel: add inline functions to sample callchain output

2019-02-20 Thread Jonas Rabenstein
Whenever a callchain shall be printed search for each address whether inline information is available and add those symbols to the output if symbol_conf.inline_name is enabled. Signed-off-by: Jonas Rabenstein --- v2: - fix handling of static binaries tools/perf/util/evsel_fprintf.c | 55 ++

Re: [PATCH] ARM: dts: sun7i: add pinctrl for missing uart mux options

2019-02-20 Thread Måns Rullgård
Maxime Ripard writes: > On Wed, Feb 20, 2019 at 04:58:49PM +0800, Chen-Yu Tsai wrote: >> On Sun, Feb 17, 2019 at 2:21 AM Mans Rullgard wrote: >> > >> > This adds pinctrl settings for various missing uart options. >> > >> > Signed-off-by: Mans Rullgard >> > --- >> > arch/arm/boot/dts/sun7i-a20.

[PATCH] usb: typec: tps6598x: handle block writes separately with plain-I2C adapters

2019-02-20 Thread Nikolaus Voss
Commit 1a2f474d328f handles block _reads_ separately with plain-I2C adapters, but the problem described with regmap-i2c not handling SMBus block transfers (i.e. read and writes) correctly also exists with writes. As workaround, this patch adds a block write function the same way 1a2f474d328f adds

Re: [PATCH 08/11] powercap/intel_rapl: Support multi-die/package

2019-02-20 Thread Peter Zijlstra
On Mon, Feb 18, 2019 at 10:40:10PM -0500, Len Brown wrote: > From: Zhang Rui > > On the new dual-die/package systems, the RAPL MSR becomes die-scope. > Thus instead of one powercap device per physical package, now there > should be one powercap device for each unique die on these systems. > > Th

Re: [PATCH] platform: set of_node in platform_device_register_full()

2019-02-20 Thread Måns Rullgård
"Rafael J. Wysocki" writes: > On Wed, Feb 20, 2019 at 11:41 AM Måns Rullgård wrote: >> >> "Rafael J. Wysocki" writes: >> >> > On Mon, Feb 18, 2019 at 12:10 PM Måns Rullgård wrote: >> >> >> >> "Rafael J. Wysocki" writes: >> >> >> >> > On Sat, Feb 16, 2019 at 5:50 PM Mans Rullgard wrote: >> >>

[PATCH v3 4/8] net: thunderx: add nicvf_send_msg_to_pf result check for set_rx_mode_task

2019-02-20 Thread Vadim Lomovtsev
The rx_set_mode invokes number of messages to be send to PF for receive mode configuration. In case if there any issues we need to stop sending messages and release allocated memory. This commit is to implement check of nicvf_msg_send_to_pf() result. Signed-off-by: Vadim Lomovtsev --- drivers/n

[PATCH v3 3/8] net: thunderx: make CFG_DONE message to run through generic send-ack sequence

2019-02-20 Thread Vadim Lomovtsev
At the end of NIC VF initialization VF sends CFG_DONE message to PF without using nicvf_msg_send_to_pf routine. This potentially could re-write data in mailbox. This commit is to implement common way of sending CFG_DONE message by the same way with other configuration messages by using nicvf_send_m

[PATCH v3 1/8] net: thunderx: correct typo in macro name

2019-02-20 Thread Vadim Lomovtsev
Correct STREERING to STEERING at macro name for BGX steering register. Signed-off-by: Vadim Lomovtsev --- drivers/net/ethernet/cavium/thunder/thunder_bgx.c | 2 +- drivers/net/ethernet/cavium/thunder/thunder_bgx.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net

[PATCH v3 5/8] net: thunderx: rework xcast message structure to make it fit into 64 bit

2019-02-20 Thread Vadim Lomovtsev
To communicate to PF each of ThunderX NIC VF uses mailbox which is pair of 64 bit registers available to both VFn and PF. This commit is to change the xcast message structure in order to fit it into 64 bit. Signed-off-by: Vadim Lomovtsev --- drivers/net/ethernet/cavium/thunder/nic.h| 6

[PATCH v3 8/8] net: thunderx: remove link change polling code and info from nicpf

2019-02-20 Thread Vadim Lomovtsev
Since link change polling routine was moved to nicvf side, we don't need anymore polling function at nicpf side along with link status info for all enabled Vfs as at VF side this info is already tracked. This commit is to remove unnecessary code & fields from nicpf structure. Signed-off-by: Vadim

[PATCH v3 0/8] nic: thunderx: fix communication races between VF & PF

2019-02-20 Thread Vadim Lomovtsev
The ThunderX CN88XX NIC Virtual Function driver uses mailbox interface to communicate to physical function driver. Each of VF has it's own pair of mailbox registers to read from and write to. The mailbox registers has no protection from possible races, so it has to be implemented at software side.

[PATCH v3 6/8] net: thunderx: add mutex to protect mailbox from concurrent calls for same VF

2019-02-20 Thread Vadim Lomovtsev
In some cases it could happen that nicvf_send_msg_to_pf() could be called concurrently for the same NIC VF, and thus re-writing mailbox contents and breaking messaging sequence with PF by re-writing NICVF data. This commit is to implement mutex for NICVF to protect mailbox registers and NICVF mess

[PATCH v3 7/8] net: thunderx: move link state polling function to VF

2019-02-20 Thread Vadim Lomovtsev
Move the link change polling task to VF side in order to prevent races between VF and PF while sending link change message(s). This commit is to implement link change request to be initiated by VF. Signed-off-by: Vadim Lomovtsev --- drivers/net/ethernet/cavium/thunder/nic.h | 2 +- .../net/

[PATCH v3 2/8] net: thunderx: replace global nicvf_rx_mode_wq work queue for all VFs to private for each of them.

2019-02-20 Thread Vadim Lomovtsev
Having one work queue for receive mode configuration ndo_set_rx_mode() call for all VFs results in making each of them wait till the set_rx_mode() call completes for another VF if any of close, set receive mode and change flags calls being already invoked. Potentially this could cause device state

Re: [PATCH 1/2] drivers: provide devm_platform_ioremap_resource()

2019-02-20 Thread Bartosz Golaszewski
śr., 20 lut 2019 o 10:57 Linus Walleij napisał(a): > > On Fri, Feb 15, 2019 at 4:25 PM Bartosz Golaszewski wrote: > > > From: Bartosz Golaszewski > > > > There are currently 1200+ instances of using platform_get_resource() > > and devm_ioremap_resource() together in the kernel tree. > > > > This

Re: [PATCH v2 2/3] clk: at91: sckc: add support for SAM9X60

2019-02-20 Thread Alexandre Belloni
On 19/02/2019 09:17:43+, claudiu.bez...@microchip.com wrote: > > > On 18.02.2019 23:20, Alexandre Belloni wrote: > > On 14/02/2019 12:14:32+, claudiu.bez...@microchip.com wrote: > >> From: Claudiu Beznea > >> > >> Add support for SAM9X60. > >> > >> Signed-off-by: Claudiu Beznea > >> ---

[PATCH] ASoC: samsung: odroid: Fix of_node refcount unbalance

2019-02-20 Thread Sylwester Nawrocki
In odroid_audio_probe() some OF nodes are left without reference count decrease after use. Fix it by ensuring required of_node_calls() are done before exiting probe. Reported-by: Takashi Iwai Signed-off-by: Sylwester Nawrocki --- sound/soc/samsung/odroid.c | 19 --- 1 file chang

Re: [PATCH] platform: set of_node in platform_device_register_full()

2019-02-20 Thread Rafael J. Wysocki
On Wed, Feb 20, 2019 at 12:02 PM Måns Rullgård wrote: > > "Rafael J. Wysocki" writes: > > > On Wed, Feb 20, 2019 at 11:41 AM Måns Rullgård wrote: > >> > >> "Rafael J. Wysocki" writes: > >> > >> > On Mon, Feb 18, 2019 at 12:10 PM Måns Rullgård wrote: > >> >> > >> >> "Rafael J. Wysocki" writes:

[PATCH] staging: iio: ad7192: Fix ad7193 channel address

2019-02-20 Thread Mircea Caprioru
This patch fixes the differential channels addresses for the ad7193. Signed-off-by: Mircea Caprioru --- drivers/staging/iio/adc/ad7192.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/iio/adc/ad7192.c b/drivers/staging/iio/adc/ad7192.c index acdbc07fd

[PATCH v2 0/2] drivers: new helper for ioremapping memory resources

2019-02-20 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There are currently 1200+ instances of using platform_get_resource() and devm_ioremap_resource() together in the kernel tree. It's a minor redundancy, but consolidation is always good. The first patch in this series adds a wrapper for these two calls and the second uses

[PATCH v2 1/2] drivers: provide devm_platform_ioremap_resource()

2019-02-20 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There are currently 1200+ instances of using platform_get_resource() and devm_ioremap_resource() together in the kernel tree. This patch wraps these two calls in a single helper. Thanks to that we don't have to declare a local variable for struct resource * and can omit

Re: [PATCH 01/10] perf/x86/intel: Introduce a concept "domain" as the scope of counters

2019-02-20 Thread Peter Zijlstra
On Tue, Feb 19, 2019 at 12:00:02PM -0800, kan.li...@linux.intel.com wrote: > It's very useful to abstract several common topology related codes for > these modules to reduce the code redundancy. > 3 files changed, 96 insertions(+), 1 deletion(-) So you add 100 lines, so we can remove lines when

Applied "regulator: pv88060: Fix array out-of-bounds access" to the regulator tree

2019-02-20 Thread Mark Brown
The patch regulator: pv88060: Fix array out-of-bounds access 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 sometime in the next 24 hour

[PATCH v2 2/2] gpio: davinci: use devm_platform_ioremap_resource()

2019-02-20 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-davinci.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-davinci

Applied "ASoC: adau1977: Add support for setting MICBIAS via DT" to the asoc tree

2019-02-20 Thread Mark Brown
The patch ASoC: adau1977: Add support for setting MICBIAS via DT 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) an

Re: [PATCH] xsysace: Fix error handling in ace_setup

2019-02-20 Thread Guenter Roeck
On 2/19/19 11:09 PM, Michal Simek wrote: On 19. 02. 19 17:49, Guenter Roeck wrote: If xace hardware reports a bad version number, the error handling code in ace_setup() calls put_disk(), followed by queue cleanup. However, since the disk data structure has the queue pointer set, put_disk() also

Applied "ASoC: sunxi: sun50i-codec-analog: Rename hpvcc regulator supply to cpvdd" to the asoc tree

2019-02-20 Thread Mark Brown
The patch ASoC: sunxi: sun50i-codec-analog: Rename hpvcc regulator supply to cpvdd 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

Re: [PATCH v1] regulator: core: Log forbidden DRMS operation

2019-02-20 Thread Mark Brown
On Tue, Feb 19, 2019 at 05:02:46PM +0100, Marc Gonzalez wrote: > When REGULATOR_CHANGE_DRMS is not set, drms_uA_update is a no-op. > It used to print a debug message, which was dropped in commit > 8a34e979f684 ("regulator: refactor valid_ops_mask checking code") > Let's bring the debug message bac

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