[PATCH] net: hns3: remove redundant assignment of l2_hdr to itself

2019-05-08 Thread Colin King
From: Colin Ian King The pointer l2_hdr is being assigned to itself, this is redundant and can be removed. Addresses-Coverity: ("Evaluation order violation") Signed-off-by: Colin Ian King --- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH v2 2/2] drm/i915/gvt: export mdev device version to sysfs for Intel vGPU

2019-05-08 Thread Dr. David Alan Gilbert
* Yan Zhao (yan.y.z...@intel.com) wrote: > This feature implements the version attribute for Intel's vGPU mdev > devices. > > version attribute is rw. > It's used to check device compatibility for two mdev devices. > version string format and length are private for vendor driver. vendor > driver

Re: [PATCH v2] pinctrl: intel: Clear interrupt status in mask/unmask callback

2019-05-08 Thread Andy Shevchenko
On Wed, May 08, 2019 at 07:58:26AM +0200, hotwater...@tutanota.com wrote: > Hello guys, any updates on suspend issue? Please, do not top-post. The patch you mentioned is in a queue to be submitted after merge window closes. Be patient. -- With Best Regards, Andy Shevchenko

Re: [PATCH v6] iio: cros_ec: Add lid angle driver

2019-05-08 Thread Lee Jones
On Wed, 24 Apr 2019, Gwendal Grignou wrote: > Add a IIO driver that reports the angle between the lid and the base for > ChromeOS convertible device. > > Tested on eve with ToT EC firmware. > Check driver is loaded and lid angle is correct. > > Signed-off-by: Gwendal Grignou > --- > Changes in

RE: [PATCH] ARC: [plat-hsdk]: Add missing multicast filter bins number to GMAC node

2019-05-08 Thread Alexey Brodkin
Hi Jose, > -Original Message- > From: Jose Abreu > Sent: Wednesday, May 8, 2019 10:29 AM > To: Eugeniy Paltsev ; jose.ab...@synopsys.com; > linux-kernel@vger.kernel.org; > Vineet Gupta ; devicet...@vger.kernel.org; > linux-snps-...@lists.infradead.org > Cc: joao.pi...@synopsys.com;

Re: [PATCH 3/3] hwrng: add mt67xx-rng driver

2019-05-08 Thread Neal Liu
Hi Stephan, We think the cast is fine, and it cannot guarantee the buf is word-align. I reference multiple rng driver's implementation and found it's common usage for this. So it might be general usage for community. Is there any suggestion that is more appropriate? Thanks

[PATCH] tty: serial_core: Set port active bit in uart_port_activate

2019-05-08 Thread Serge Semin
A bug was introduced by commit b3b576461864 ("tty: serial_core: convert uart_open to use tty_port_open"). It caused a constant warning printed into the system log regarding the tty and port counter mismatch: [ 21.644197] ttyS ttySx: tty_port_close_start: tty->count = 1 port count = 2 in case

[v1 4/4] arm64: ls1028ardb: Add support DP nodes for LS1028ARDB

2019-05-08 Thread Wen He
This patch add HDP PHY Controller related nodes on the LS1028ARDB. Now LS1028ARDB on DP has following features: - Supports 4 dp lane channel and lane mapping is 1-0-3-2. - By default, the pixel link rate value's 27Mhz. - By default, support the resoluions are 4k@60,1080p@60,720p@60, 480p@60. also

[v1 1/4] dt-bindings: display: Add DT bindings for LS1028A HDP-TX PHY.

2019-05-08 Thread Wen He
Add DT bindings documentmation for the HDP-TX PHY controller. The describes which could be found on NXP Layerscape ls1028a platform. Signed-off-by: Wen He --- .../devicetree/bindings/display/fsl,hdp.txt | 56 +++ 1 file changed, 56 insertions(+) create mode 100644

[v1 2/4] arm64: dts: ls1028a: Add properties for HDP Controller.

2019-05-08 Thread Wen He
This patch enables the HDP controller driver on the LS1028A. Signed-off-by: Alison Wang Signed-off-by: Wen He --- .../arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 25 +++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi

[v1 3/4] arm64: ls1028aqds: Add support DP nodes for LS1028AQDS

2019-05-08 Thread Wen He
This patch add HDP PHY Controller related nodes on the LS1028AQDS. Now LS1028AQDS on DP has following features: - Supports 4 dp lane channel and lane mapping is 1-0-3-2. - By default, the pixel link rate value's 27Mhz. - By default, support the resoluions are 4k@60,1080p@60,720p@60, 480p@60. also

[PATCH v2] usb: core: verify devicetree nodes for disabled interfaces

2019-05-08 Thread Marek Szyprowski
Commit 01fdf179f4b0 ("usb: core: skip interfaces disabled in devicetree") add support for disabling given USB device interface by adding nodes to the USB host controller device. The mentioned commit however identifies the given USB interface node only by the 'reg' property in the host controller

[v5] arm64: dts: ls1028a: Add properties for Mali DP500 node

2019-05-08 Thread Wen He
The LS1028A has a LCD controller and Displayport interface that connects to eDP and Displayport connectors on the LS1028A board. This patch enables the LCD controller driver on the LS1028A. Signed-off-by: Alison Wang Signed-off-by: Wen He Reviewed-by: Liviu Dudau Reviewed-by: Rob Herring ---

Re: [PATCH 0/2] perf, intel: Add support for PEBS output to Intel PT

2019-05-08 Thread Peter Zijlstra
On Thu, May 02, 2019 at 01:50:20PM +0300, Alexander Shishkin wrote: > Hi Peter, > > New PEBS feature: output to Intel PT stream instead of the DS area. It's > theoretically useful in virtualized environments, where DS area can't be > used. It's also good for those who are interested in

Applied "spi: rockchip: turn down tx dma bursts" to the spi tree

2019-05-08 Thread Mark Brown
The patch spi: rockchip: turn down tx dma bursts has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus

[GIT PULL] USB/PHY patches for 5.2-rc1

2019-05-08 Thread Greg KH
The following changes since commit 37624b58542fb9f2d9a70e6ea006ef8a5f66c30b: Linux 5.1-rc7 (2019-04-28 17:04:13 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-5.2-rc1 for you to fetch changes up to

Re: [syzbot? printk?] no WARN_ON() messages printed before "Kernel panic - not syncing: panic_on_warn set ..."

2019-05-08 Thread Tetsuo Handa
Hello. We are again getting corrupted reports where message from WARN() is missing. For example, https://syzkaller.appspot.com/text?tag=CrashLog=1720cac8a0 was titled as "WARNING in cgroup_exit" because the "WARNING: CPU: 0 PID: 7870 at kernel/cgroup/cgroup.c:6008 cgroup_exit+0x51a/0x5d0"

Re: [PATCH 1/3] mfd: axp20x: add USB power supply mfd cell to AXP803

2019-05-08 Thread Lee Jones
On Fri, 19 Apr 2019, Chen-Yu Tsai wrote: > From: Chen-Yu Tsai > > The AXP803 has a VBUS power input. Its functionality is the same as the > one found in the AXP813. Now that the axp20x_usb_power driver supports > this variant, we can add an mfd cell for it to use it. > > Signed-off-by: Chen-Yu

Re: [GIT PULL] spi updates for v5.2

2019-05-08 Thread Mark Brown
On Wed, May 08, 2019 at 12:13:01PM +0200, Sebastian Reichel wrote: > On Wed, May 08, 2019 at 03:09:36PM +0900, Mark Brown wrote: > > I'd have to send all mail out via kernel.org to do that, or persuade a > > MTA to route mail differently based on contents which seems interesting > > - I inject

Re: [PATCH] mfd: da9063: Fix OTP control register names to match datasheets for DA9063/63L

2019-05-08 Thread Lee Jones
On Fri, 26 Apr 2019, Steve Twiss wrote: > Mismatch between what is found in the Datasheets for DA9063 and DA9063L > provided by Dialog Semiconductor, and the register names provided in the > MFD registers file. The changes are for the OTP (one-time-programming) > control registers. The two naming

[GIT PULL] TTY/Serial patches for 5.2-rc1

2019-05-08 Thread Greg KH
The following changes since commit 085b7755808aa11f78ab9377257e1dad2e6fa4bb: Linux 5.1-rc6 (2019-04-21 10:45:57 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tags/tty-5.2-rc1 for you to fetch changes up to

Re: [PATCH] mfd: intel_quark_i2c_gpio: Adjust IOT2000 matching

2019-05-08 Thread Lee Jones
On Thu, 18 Apr 2019, Jan Kiszka wrote: > From: Su Bao Cheng > > Since there are more IOT2040 variants with identical hardware but > different asset tags, the asset tag matching should be adjusted to > support them. > > For the board name "SIMATIC IOT2000", currently there are 2 types of >

RE: [v1] gpu: ipu-v3: allow to build with ARCH_LAYERSCAPE

2019-05-08 Thread Wen He
> -Original Message- > From: Wen He > Sent: 2019年5月8日 17:42 > To: dri-de...@lists.freedesktop.org; p.za...@pengutronix.de > Cc: Leo Li ; Wen He > Subject: [v1] gpu: ipu-v3: allow to build with ARCH_LAYERSCAPE > > The new LS1028A DP driver code causes a link failure when DRM_IMX

Re: [PATCH next 16/25] mfd: Use dev_get_drvdata()

2019-05-08 Thread Lee Jones
On Tue, 23 Apr 2019, Kefeng Wang wrote: > Using dev_get_drvdata directly. > > Cc: Andy Gross > Cc: David Brown > Cc: Lee Jones > Cc: linux-arm-...@vger.kernel.org > Signed-off-by: Kefeng Wang > --- > drivers/mfd/ssbi.c | 2 +- > drivers/mfd/t7l66xb.c | 12 >

Re: [PATCH] spi: TI power management: add missing of table registration

2019-05-08 Thread Lee Jones
The subject line is not correct. This is an MFD driver. When submitting you should follow the convention for the subsystem you are patching against. The following command is helpful: `git log --oneline -- ` I will fix it for you this time (and for the other patch I see). On Mon, 22 Apr

Re: [GIT PULL] spi updates for v5.2

2019-05-08 Thread Brian Masney
On Wed, May 08, 2019 at 03:09:36PM +0900, Mark Brown wrote: > On Tue, May 07, 2019 at 02:07:30PM +0200, Sebastian Reichel wrote: > > > FWIW, I send out kernel.org mails via mail.kernel.org. Konstantin > > added that service in 2014. You can get a password with > > > ssh g...@gitolite.kernel.org

Re: [PATCH v7 07/13] dt-bindings: memory-controllers: add Exynos5422 DMC device description

2019-05-08 Thread Krzysztof Kozlowski
On Wed, 8 May 2019 at 11:45, Lukasz Luba wrote: > > > On 5/8/19 9:19 AM, Krzysztof Kozlowski wrote: > > On Tue, 7 May 2019 at 19:04, Rob Herring wrote: > >>> +- devfreq-events : phandles of the PPMU events used by the controller. > >>> +- samsung,syscon-chipid : phandle of the ChipID used by the

Re: [PATCH v7 11/13] ARM: dts: exynos: add syscon to clock compatible

2019-05-08 Thread Krzysztof Kozlowski
On Wed, 8 May 2019 at 11:50, Lukasz Luba wrote: > > > On 5/8/19 9:22 AM, Krzysztof Kozlowski wrote: > > On Mon, 6 May 2019 at 17:12, Lukasz Luba wrote: > >> > >> In order get the clock by phandle and use it with regmap it needs to be > >> compatible with syscon. The DMC driver uses two registers

[PATCH] MAINTAINERS: Add mailing list for the TEE subsystem

2019-05-08 Thread Sumit Garg
Add a mailing list for patch reviews and discussions related to TEE subsystem. Signed-off-by: Sumit Garg --- MAINTAINERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 920a0a1..c05dff7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11556,11 +11556,13 @@

Re: [PATCH] EDAC, mpc85xx: Prevent building as a module

2019-05-08 Thread Borislav Petkov
On Mon, May 06, 2019 at 08:50:45AM +0200, Johannes Thumshirn wrote: > Acked-by: Johannes Thumshirn Queued, thanks. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.

Re: [PATCH] usb: core: verify devicetree nodes for disabled interfaces

2019-05-08 Thread Marek Szyprowski
Hi On 2019-05-07 15:24, Måns Rullgård wrote: > Marek Szyprowski writes: >> Commit 01fdf179f4b0 ("usb: core: skip interfaces disabled in devicetree") >> add support for disabling given USB device interface by adding nodes to >> the USB host controller device. The mentioned commit however

Re: [GIT PULL] spi updates for v5.2

2019-05-08 Thread Sebastian Reichel
Hi, On Wed, May 08, 2019 at 03:09:36PM +0900, Mark Brown wrote: > On Tue, May 07, 2019 at 02:07:30PM +0200, Sebastian Reichel wrote: > > FWIW, I send out kernel.org mails via mail.kernel.org. Konstantin > > added that service in 2014. You can get a password with > > > ssh

[PATCH] habanalabs: check to load F/W before boot status

2019-05-08 Thread Oded Gabbay
This patch changes the order of checks when initializing the device CPU. We want first to check if we need to load the F/W, and only if we need to, then we want to check the status of the CPU boot program. Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/goya/goya.c | 6 +++--- 1 file

Re: [PATCH v7 12/13] ARM: dts: exynos: add DMC device for exynos5422

2019-05-08 Thread Lukasz Luba
On 5/8/19 9:25 AM, Krzysztof Kozlowski wrote: > On Mon, 6 May 2019 at 17:12, Lukasz Luba wrote: >> >> Add description of Dynamic Memory Controller and PPMU counters. >> They are used by exynos5422-dmc driver. >> There is a definition of the memory chip, which is then used during >> calculation

Re: [PATCH v7 11/13] ARM: dts: exynos: add syscon to clock compatible

2019-05-08 Thread Lukasz Luba
On 5/8/19 9:22 AM, Krzysztof Kozlowski wrote: > On Mon, 6 May 2019 at 17:12, Lukasz Luba wrote: >> >> In order get the clock by phandle and use it with regmap it needs to be >> compatible with syscon. The DMC driver uses two registers from clock >> register set and needs the regmap of them. >>

Re: [GIT PULL] Staging/IIO driver patches for 5.2-rc1

2019-05-08 Thread Greg KH
On Tue, May 07, 2019 at 01:33:06PM -0700, Linus Torvalds wrote: > On Tue, May 7, 2019 at 10:59 AM Greg KH wrote: > > > > All of these have been in linux-next for a while with no reported > > issues, other than an odd gcc warning for one of the new drivers that > > should be fixed up soon. > >

Re: [PATCH] sched: Provide a pointer to the valid CPU mask

2019-05-08 Thread Peter Zijlstra
On Tue, Apr 23, 2019 at 04:26:36PM +0200, Sebastian Andrzej Siewior wrote: > In commit 4b53a3412d66 ("sched/core: Remove the tsk_nr_cpus_allowed() > wrapper") the tsk_nr_cpus_allowed() wrapper was removed. There was not > much difference in !RT but in RT we used this to implement >

RE: [EXT] Re: [PATCH v3 10/14] dt-bindings: dma: imx-sdma: add i.mx6ul/6sx compatible name

2019-05-08 Thread Robin Gong
> On Wed, 8 May 2019 09:16:38 +, Rob Herring wrote: > On Tue, 7 May 2019 09:16:38 +, Robin Gong wrote: > > Add i.mx6ul and i.mx6sx compatible name. > > > > Signed-off-by: Robin Gong > > --- > > Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt | 2 ++ > > 1 file changed, 2

Re: [PATCH v7 07/13] dt-bindings: memory-controllers: add Exynos5422 DMC device description

2019-05-08 Thread Lukasz Luba
On 5/8/19 9:19 AM, Krzysztof Kozlowski wrote: > On Tue, 7 May 2019 at 19:04, Rob Herring wrote: >>> +- devfreq-events : phandles of the PPMU events used by the controller. >>> +- samsung,syscon-chipid : phandle of the ChipID used by the controller. >>> +- samsung,syscon-clk : phandle of the

Re: [PATCH] scsi: bnx2fc: fix incorrect cast to u64 on shift operation

2019-05-08 Thread Christophe JAILLET
Le 04/05/2019 à 18:48, Colin King a écrit : From: Colin Ian King Currently an int is being shifted and the result is being cast to a u64 which leads to undefined behaviour if the shift is more than 31 bits. Fix this by casting the integer value 1 to u64 before the shift operation.

Re: [PATCH 0/3] x86_64/ftrace: Emulate calls from int3 when patching functions

2019-05-08 Thread Nicolai Stange
Steven Rostedt writes: > [ > This is the non-RFC version. > > It went through and passed all my tests. If there's no objections > I'm going to include this in my pull request. I still have patches > in my INBOX that may still be included, so I need to run those through > my tests as

Re: [PATCH v6 1/1] iommu: enhance IOMMU dma mode build options

2019-05-08 Thread John Garry
On 18/04/2019 14:57, Zhen Lei wrote: First, add build option IOMMU_DEFAULT_{LAZY|STRICT}, so that we have the opportunity to set {lazy|strict} mode as default at build time. Then put the three config options in an choice, make people can only choose one of the three at a time. The default IOMMU

Re: [PATCH v4] x86/mm/KASLR: Fix the size of vmemmap section

2019-05-08 Thread Baoquan He
On 05/08/19 at 11:04am, Borislav Petkov wrote: > On Wed, May 08, 2019 at 04:24:18PM +0800, Baoquan He wrote: > > I think this's worth noticing stable tree: > > > > Cc: sta...@vger.kernel.org > > Fixes: ? Not sure which commit validated 5-level. Hi Kirill, Is this commit OK? Fiexes:

Re: [PATCH 2/2] perf/x86/intel: Support PEBS output to PT

2019-05-08 Thread Peter Zijlstra
On Thu, May 02, 2019 at 01:50:22PM +0300, Alexander Shishkin wrote: > The output setting is per-CPU, so all PEBS events must be either writing > to PT or to the DS area, so in order to not mess up the event scheduling, > we fall back to the latter in case both types of events are scheduled in. >

Re: [PATCH v7 08/13] drivers: memory: add DMC driver for Exynos5422

2019-05-08 Thread Lukasz Luba
Hi Krzysztof, On 5/8/19 9:11 AM, Krzysztof Kozlowski wrote: > ())On Mon, 6 May 2019 at 17:12, Lukasz Luba > wrote: >> >> This patch adds driver for Exynos5422 Dynamic Memory Controller. >> The driver provides support for dynamic frequency and voltage scaling for >> DMC and DRAM. It supports

Re: [PATCH v1] dmaengine: tegra-apb: Handle DMA_PREP_INTERRUPT flag properly

2019-05-08 Thread Jon Hunter
On 05/05/2019 19:12, Dmitry Osipenko wrote: > The DMA_PREP_INTERRUPT flag means that descriptor's callback should be > invoked upon transfer completion and that's it. For some reason driver > completely disables the hardware interrupt handling, leaving channel in > unusable state if transfer is

Re: [RFC PATCH 4/6] sched/dl: Improve capacity-aware wakeup

2019-05-08 Thread luca abeni
On Wed, 8 May 2019 11:08:55 +0200 Juri Lelli wrote: > On 06/05/19 06:48, Luca Abeni wrote: > > From: luca abeni > > > > Instead of considering the "static CPU bandwidth" allocated to > > a SCHED_DEADLINE task (ratio between its maximum runtime and > > reservation period), try to use the

Linux 4.19.41

2019-05-08 Thread Greg KH
I'm announcing the release of the 4.19.41 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

Linux 5.0.14

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

Re: Linux 4.19.41

2019-05-08 Thread Greg KH
diff --git a/Documentation/driver-api/usb/power-management.rst b/Documentation/driver-api/usb/power-management.rst index 79beb807996b..4a74cf6f2797 100644 --- a/Documentation/driver-api/usb/power-management.rst +++ b/Documentation/driver-api/usb/power-management.rst @@ -370,11 +370,15 @@

Re: Linux 5.0.14

2019-05-08 Thread Greg KH
diff --git a/Documentation/driver-api/usb/power-management.rst b/Documentation/driver-api/usb/power-management.rst index 79beb807996b..4a74cf6f2797 100644 --- a/Documentation/driver-api/usb/power-management.rst +++ b/Documentation/driver-api/usb/power-management.rst @@ -370,11 +370,15 @@

Re: Linux 4.14.117

2019-05-08 Thread Greg KH
diff --git a/Documentation/driver-api/usb/power-management.rst b/Documentation/driver-api/usb/power-management.rst index 79beb807996b..4a74cf6f2797 100644 --- a/Documentation/driver-api/usb/power-management.rst +++ b/Documentation/driver-api/usb/power-management.rst @@ -370,11 +370,15 @@

Re: [RFC PATCH 3/6] sched/dl: Try better placement even for deadline tasks that do not block

2019-05-08 Thread Juri Lelli
On 08/05/19 10:14, luca abeni wrote: > Hi Juri, > > On Wed, 8 May 2019 10:01:16 +0200 > Juri Lelli wrote: > > > Hi Luca, > > > > On 06/05/19 06:48, Luca Abeni wrote: > > > From: luca abeni > > > > > > Currently, the scheduler tries to find a proper placement for > > > SCHED_DEADLINE tasks

Linux 4.14.117

2019-05-08 Thread Greg KH
I'm announcing the release of the 4.14.117 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

Re: Linux 4.9.174

2019-05-08 Thread Greg KH
diff --git a/Documentation/usb/power-management.txt b/Documentation/usb/power-management.txt index 0a94ffe17ab6..b13e031beaa6 100644 --- a/Documentation/usb/power-management.txt +++ b/Documentation/usb/power-management.txt @@ -365,11 +365,15 @@ autosuspend the interface's device. When the usage

Linux 4.9.174

2019-05-08 Thread Greg KH
I'm announcing the release of the 4.9.174 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: [PATCH] platform/x86: pmc_atom: Add Lex 3I380D industrial PC to critclk_systems DMI table

2019-05-08 Thread Hans de Goede
Hi, On 08-05-19 10:42, Andy Shevchenko wrote: On Wed, May 8, 2019 at 10:48 AM Hans de Goede wrote: On 07-05-19 22:17, Stephen Boyd wrote: Quoting Hans de Goede (2019-05-06 08:05:42) I guess this is urgent? Somewhat, getting this into e.g. rc2 would be fine too, waiting till 5.3 would be

RE: [PATCH v2 4/7] lib/hexdump.c: Replace ascii bool in hex_dump_to_buffer with flags

2019-05-08 Thread David Laight
From: Alastair D'Silva > Sent: 08 May 2019 08:02 > To: alast...@d-silva.org ... > --- a/include/linux/printk.h > +++ b/include/linux/printk.h > @@ -480,13 +480,13 @@ enum { > DUMP_PREFIX_OFFSET > }; > > -extern int hex_dump_to_buffer(const void *buf, size_t len, int rowsize, > -

[PATCH v4 0/3] mfd: cros_ec: Instantiate CrOS FP and TP devices

2019-05-08 Thread Enric Balletbo i Serra
Hi Lee, Sorry for the delay, this is a new version rebased on top of for-mfd-next tree solvind the conflicts with due the already applied patches. The first version depends on: - mfd: cros: Update EC protocol to match current EC code - https://lore.kernel.org/patchwork/patch/1046363 But

[PATCH v4 3/3] mfd: cros_ec: instantiate properly CrOS Touchpad MCU device

2019-05-08 Thread Enric Balletbo i Serra
Support Touchpad MCU as a special of CrOS EC devices. The current Touchpad MCU is used on Eve Chromebook and used the same protocol as other CrOS EC devices. When a MCU has touchpad support (aka EC_FEATURE_TOUCHPAD), it is instantiated as a special CrOS EC device with device name 'cros_tp'. So

[PATCH v4 1/3] mfd: cros_ec: Update the EC feature codes

2019-05-08 Thread Enric Balletbo i Serra
Update the feature enum for the Chromebook Embedded Controller to the latest version. Some of these enums are still not used in the kernel but we might be also interested on have these enums up to date. Userspace can use them to query the features to the EC via the cros-ec character device. While

[PATCH v4 2/3] mfd: cros_ec: instantiate properly CrOS FP MCU device

2019-05-08 Thread Enric Balletbo i Serra
Support Fingerprint MCU as a special of CrOS EC devices. The current FP MCU uses the same EC SPI protocol v3 as other CrOS EC devices on a SPI bus. When a MCU has fingerprint support (aka EC_FEATURE_FINGERPRINT), it is instantiated as a special CrOS EC device with device name 'cros_fp'. So

Re: [PATCH v2 4/7] lib/hexdump.c: Replace ascii bool in hex_dump_to_buffer with flags

2019-05-08 Thread Greg Kroah-Hartman
On Wed, May 08, 2019 at 05:01:44PM +1000, Alastair D'Silva wrote: > From: Alastair D'Silva > > In order to support additional features in hex_dump_to_buffer, replace > the ascii bool parameter with flags. > > Signed-off-by: Alastair D'Silva > --- > drivers/gpu/drm/i915/intel_engine_cs.c

Re: [PATCH 2/2] perf/x86/intel: Support PEBS output to PT

2019-05-08 Thread Peter Zijlstra
On Thu, May 02, 2019 at 01:50:22PM +0300, Alexander Shishkin wrote: > The output setting is per-CPU, so all PEBS events must be either writing > to PT or to the DS area, so in order to not mess up the event scheduling, > we fall back to the latter in case both types of events are scheduled in.

Re: [PATCH 2/2] perf/x86/intel: Support PEBS output to PT

2019-05-08 Thread Peter Zijlstra
On Thu, May 02, 2019 at 01:50:22PM +0300, Alexander Shishkin wrote: > If PEBS declares ability to output its data to Intel PT stream, use the > aux_source attribute bit to enable PEBS data output to PT. This requires > a PT event to be present and scheduled in the same context. Unlike the > DS

[v3 PATCH] dt-binding: usb: add usb-role-switch property

2019-05-08 Thread Chunfeng Yun
Add a property usb-role-switch to tell the driver that use USB Role Switch framework to handle the role switch, it's useful when the driver has already supported other ways, such as extcon framework etc. Cc: Biju Das Cc: Yu Chen Signed-off-by: Chunfeng Yun --- v3: add property type, modify

Re: [alsa-devel] [RFC PATCH 1/7] soundwire: Add sysfs support for master(s)

2019-05-08 Thread Greg KH
On Wed, May 08, 2019 at 01:16:06PM +0530, Vinod Koul wrote: > On 07-05-19, 17:49, Pierre-Louis Bossart wrote: > > > > > > The model here is that Master device is PCI or Platform device and then > > > > creates a bus instance which has soundwire slave devices. > > > > > > > > So for any attribute

Applied "ASoC: hdmi-codec: remove ops dependency on the dai id" to the asoc tree

2019-05-08 Thread Mark Brown
The patch ASoC: hdmi-codec: remove ops dependency on the dai id 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

Re: [PATCH v7 07/13] dt-bindings: memory-controllers: add Exynos5422 DMC device description

2019-05-08 Thread Lukasz Luba
Hi Rob, On 5/7/19 7:04 PM, Rob Herring wrote: > On Mon, May 06, 2019 at 05:11:55PM +0200, Lukasz Luba wrote: >> The patch adds description for DT binding for a new Exynos5422 Dynamic >> Memory Controller device. >> >> Signed-off-by: Lukasz Luba >> --- >>

Re: [PATCH] intel_th: msu: fix unused variables

2019-05-08 Thread Geert Uytterhoeven
On Tue, May 7, 2019 at 3:53 PM Anders Roxell wrote: > When building and CONFIG_X86 isn't set the compiler rightly complains > about an unused varable 'i', see the warning below: > > ../drivers/hwtracing/intel_th/msu.c: In function ‘msc_buffer_win_alloc’: >

Applied "dt-bindings: mfd: atmel-usart: add DMA bindings for USART in SPI mode" to the spi tree

2019-05-08 Thread Mark Brown
The patch dt-bindings: mfd: atmel-usart: add DMA bindings for USART in SPI mode has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in

Applied "spi: at91-usart: add DMA support" to the spi tree

2019-05-08 Thread Mark Brown
The patch spi: at91-usart: add DMA support has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.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 hours) and sent to Linus

[GIT PULL] csky changes for v5.2-rc1

2019-05-08 Thread guoren
The following changes since commit 085b7755808aa11f78ab9377257e1dad2e6fa4bb: Linux 5.1-rc6 (2019-04-21 10:45:57 -0700) are available in the git repository at: https://github.com/c-sky/csky-linux.git tags/csky-for-linus-5.2-rc1 for you to fetch changes up to

Re: [RFC PATCH 4/6] sched/dl: Improve capacity-aware wakeup

2019-05-08 Thread Juri Lelli
On 06/05/19 06:48, Luca Abeni wrote: > From: luca abeni > > Instead of considering the "static CPU bandwidth" allocated to > a SCHED_DEADLINE task (ratio between its maximum runtime and > reservation period), try to use the remaining runtime and time > to scheduling deadline. > > Signed-off-by:

Applied "regulator: core: Slightly improve readability of _regulator_get_enable_time" to the regulator tree

2019-05-08 Thread Mark Brown
The patch regulator: core: Slightly improve readability of _regulator_get_enable_time has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.3 All being well this means that it will be integrated into the linux-next tree

Applied "regulator: max77650: Convert MAX77651 SBB1 to pickable linear range" to the regulator tree

2019-05-08 Thread Mark Brown
The patch regulator: max77650: Convert MAX77651 SBB1 to pickable linear range has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually

Re: [PATCH] sound: soc-acpi: fix implicit header use of module.h/export.h

2019-05-08 Thread Mark Brown
On Sat, Apr 13, 2019 at 11:15:18AM -0400, Paul Gortmaker wrote: > This file is implicitly relying on an instance of including > module.h from . Please use subject lines matching the style for the subsystem. This makes it easier for people to identify relevant patches. signature.asc

Re: [PATCH v4] x86/mm/KASLR: Fix the size of vmemmap section

2019-05-08 Thread Borislav Petkov
On Wed, May 08, 2019 at 04:24:18PM +0800, Baoquan He wrote: > I think this's worth noticing stable tree: > > Cc: sta...@vger.kernel.org Fixes: ? -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.

Re: [PATCH v5 3/3] ASoC: rt5677: fall back to DT prop names on error

2019-05-08 Thread Mark Brown
On Tue, May 07, 2019 at 04:01:15PM -0600, Fletcher Woodruff wrote: > The rt5677 driver uses ACPI-style property names to read from the > device API. However, these do not match the property names in _DSD > used on the Chromebook Pixel 2015, which are closer to the Device Tree > style. Unify the

Applied "ASoC: stm32: i2s: update pcm hardware constraints" to the asoc tree

2019-05-08 Thread Mark Brown
The patch ASoC: stm32: i2s: update pcm hardware constraints has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.2 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Re: [PATCH v2 1/4] of_net: Add NVMEM support to of_get_mac_address

2019-05-08 Thread Petr Štetiar
Rob Herring [2019-05-07 11:06:43]: Hi, > > Honestly I don't know if it's necessary to have it, but so far address, > > mac-address and local-mac-address properties provide this DT nodes, so I've > > simply thought, that it would be good to have it for MAC address from NVMEM > > as > > well in

Applied "ASoC: stm32: i2s: manage identification registers" to the asoc tree

2019-05-08 Thread Mark Brown
The patch ASoC: stm32: i2s: manage identification registers 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 hours)

Applied "ASoC: hdmi-codec: remove reference to the current substream" to the asoc tree

2019-05-08 Thread Mark Brown
The patch ASoC: hdmi-codec: remove reference to the current substream 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

Applied "ASoC: hdmi-codec: remove function name debug traces" to the asoc tree

2019-05-08 Thread Mark Brown
The patch ASoC: hdmi-codec: remove function name debug traces 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 "ASoC: hdmi-codec: remove reference to the dai drivers in the private data" to the asoc tree

2019-05-08 Thread Mark Brown
The patch ASoC: hdmi-codec: remove reference to the dai drivers in the private data 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

Applied "sound: soc-acpi: fix implicit header use of module.h/export.h" to the asoc tree

2019-05-08 Thread Mark Brown
The patch sound: soc-acpi: fix implicit header use of module.h/export.h 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

Re: [PATCH v2 2/4] ASoC: hdmi-codec: remove reference to the current substream

2019-05-08 Thread Mark Brown
On Wed, May 08, 2019 at 10:08:44AM +0200, Jerome Brunet wrote: > On Wed, 2019-05-08 at 16:00 +0900, Mark Brown wrote: > > The advantage of mutexes is that they are very simple and clear to > > reason about. It is therefore unclear that this conversion to use > > atomic variables is an

Re: [PATCH v2 00/23] locking/lockdep: Small improvements

2019-05-08 Thread Peter Zijlstra
On Mon, May 06, 2019 at 04:19:16PM +0800, Yuyang Du wrote: > Hi Peter, > > Let me post these small bits first while waiting for Frederic's patches > to be merged. > They apply nicely and should show up in tip after the merge window closes or thereabout. Thanks!

RE: [PATCH V2 1/4] dt-bindings: fsl: scu: add ocotp binding

2019-05-08 Thread Aisheng Dong
> From: Peng Fan > Sent: Wednesday, May 8, 2019 10:56 AM > > NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system > controller(SCU), the ocotp controller is being controlled by the SCU, so Linux > need use RPC to SCU for ocotp handling. This patch adds binding doc for i.MX8 > SCU

Re: [PATCH v2] ext4: fix use-after-free in dx_release()

2019-05-08 Thread Andreas Dilger
On May 8, 2019, at 2:34 AM, Sahitya Tummala wrote: > > The buffer_head (frames[0].bh) and it's corresping page can be > potentially free'd once brelse() is done inside the for loop > but before the for loop exits in dx_release(). It can be free'd > in another context, when the page cache is

Re: [PATCH 7/7] cpumask: don't calculate length of the input string

2019-05-08 Thread Andy Shevchenko
On Tue, Apr 30, 2019 at 06:06:36PM -0700, Yury Norov wrote: > New design of inner bitmap_parse() allows to avoid > calculating the size of a null-terminated string. > FWIW, Reviewed-by: Andy Shevchenko > Signed-off-by: Yury Norov > --- > include/linux/cpumask.h | 4 +--- > 1 file changed, 1

Re: [PATCH 2/7] bitops: more BITS_TO_* macros

2019-05-08 Thread Andy Shevchenko
On Tue, Apr 30, 2019 at 06:06:31PM -0700, Yury Norov wrote: > Introduce BITS_TO_U64, BITS_TO_U32 and BITS_TO_BYTES as they are handy > in the following patches (BITS_TO_U32 specifically). Reimplement tools/ > version of the macros according to the kernel implementation. > > Also fix indentation

Re: [PATCH 6/7] lib: new testcases for bitmap_parse{_user}

2019-05-08 Thread Andy Shevchenko
On Tue, Apr 30, 2019 at 06:06:35PM -0700, Yury Norov wrote: > New version of bitmap_parse() is unified with bitmap_parse_list(), > and therefore: > - weakens rules on whitespaces and commas between hex chunks; > - in addition to \0 allows using \n as the line ending symbol; > - allows passing

Re: [PATCH 3/7] lib: add test for bitmap_parse()

2019-05-08 Thread Andy Shevchenko
On Tue, Apr 30, 2019 at 06:06:32PM -0700, Yury Norov wrote: > The test is derived from bitmap_parselist() > NO_LEN is reserved for use in following patches. > Reviewed-by: Andy Shevchenko > Signed-off-by: Yury Norov > --- > lib/test_bitmap.c | 94

Re: [PATCH 4/7] lib: make bitmap_parse_user a wrapper on bitmap_parse

2019-05-08 Thread Andy Shevchenko
On Tue, Apr 30, 2019 at 06:06:33PM -0700, Yury Norov wrote: > Currently we parse user data byte after byte which leads to > overcomplicating of parsing algorithm. There are no performance > critical users of bitmap_parse_user(), and so we can duplicate > user data to kernel buffer and simply call

Re: [PATCH 1/7] lib/string: add strnchrnul()

2019-05-08 Thread Andy Shevchenko
On Tue, Apr 30, 2019 at 06:06:30PM -0700, Yury Norov wrote: > New function works like strchrnul() with a length limited strings. > Reviewed-by: Andy Shevchenko > Signed-off-by: Yury Norov > --- > include/linux/string.h | 1 + > lib/string.c | 17 + > 2 files

Re: [PATCH 5/7] lib: rework bitmap_parse()

2019-05-08 Thread Andy Shevchenko
On Tue, Apr 30, 2019 at 06:06:34PM -0700, Yury Norov wrote: > bitmap_parse() is ineffective and full of opaque variables and opencoded > parts. It leads to hard understanding and usage of it. This rework > includes: > - remove bitmap_shift_left() call from the cycle. Now it makes the >

[PATCH] habanalabs: remove dead code in habanalabs_drv.c

2019-05-08 Thread Oded Gabbay
This patch removes some dead code that performs checks about variables with hard-coded values. The patch also moves the initialization of those variables to a separate function, that will possibly have different values per ASIC. Signed-off-by: Oded Gabbay ---

Re: [PATCH] platform/x86: pmc_atom: Add Lex 3I380D industrial PC to critclk_systems DMI table

2019-05-08 Thread Andy Shevchenko
On Wed, May 8, 2019 at 10:48 AM Hans de Goede wrote: > On 07-05-19 22:17, Stephen Boyd wrote: > > Quoting Hans de Goede (2019-05-06 08:05:42) > > I guess this is urgent? > > Somewhat, getting this into e.g. rc2 would be fine too, waiting till 5.3 > would be bad. So, I can do it as a fixes for

Re: [PATCH v4 02/10] dt-bindings: doc: reflect new NVMEM of_get_mac_address behaviour

2019-05-08 Thread Petr Štetiar
Rob Herring [2019-05-07 11:44:57]: Hi, > > -- local-mac-address: the driver is designed to use the > > of_get_mac_address api > > - only if efuse-mac is 0. When efuse-mac is 0, the MAC > > - address is obtained from local-mac-address. If this > > -

<    2   3   4   5   6   7   8   9   >