Re: [PATCH v10 00/27] ARM: davinci: convert to common clock framework​

2018-05-15 Thread Bartosz Golaszewski
2018-05-14 2:40 GMT+02:00 Adam Ford : > On Wed, May 9, 2018 at 12:25 PM, David Lechner wrote: >> This series converts mach-davinci to use the common clock framework. >> >> The series works like this, the first 3 patches fix some issues with the >> clock >> drivers that have already been accepted

Re: [PATCH] media: helene: add I2C device probe function

2018-05-15 Thread kbuild test robot
/0day-ci/linux/commits/Katsuhiro-Suzuki/media-helene-add-I2C-device-probe-function/20180515-134502 base: git://linuxtv.org/media_tree.git master reproduce: make htmldocs All warnings (new ones prefixed by >>): include/net/mac80211.h:2083: warning: bad line: > include/net/mac802

Re: [PATCH v7 12/14] cpufreq: Add Kryo CPU scaling driver

2018-05-15 Thread Rafael J. Wysocki
On Tuesday, May 15, 2018 11:19:12 AM CEST Viresh Kumar wrote: > On 15-05-18, 12:13, Ilia Lin wrote: > > In Certain QCOM SoCs like apq8096 and msm8996 that have KRYO processors, > > the CPU ferequencies subset and voltage value of each OPP varies > > based on the silicon variant in use. Qualcomm Pro

Re: [PATCH V5 1/4] dt-bindings: pwrap: mediatek: add pwrap support for MT6797

2018-05-15 Thread Matthias Brugger
On 05/10/2018 03:01 PM, argus@mediatek.com wrote: > From: Argus Lin > > We add pwrap support for MT6797 SoCs. > You forgot the Signed-off-by tag. > --- > Documentation/devicetree/bindings/soc/mediatek/pwrap.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devi

Re: [PATCH 05/61] clk: samsung: simplify getting .drvdata

2018-05-15 Thread Sylwester Nawrocki
On 04/19/2018 04:05 PM, Wolfram Sang wrote: > We should get drvdata from struct device directly. Going via > platform_device is an unneeded step back and forth. > > Signed-off-by: Wolfram Sang Acked-by: Sylwester Nawrocki It seems to be the only clk/samsung patch in the v4.18 queue, please fee

Re: [PATCH v5 1/2] clk: x86: Add ST oscout platform clock

2018-05-15 Thread Rafael J. Wysocki
On Wednesday, May 9, 2018 11:59:00 AM CEST Akshu Agrawal wrote: > Stoney SoC provides oscout clock. This clock can support 25Mhz and > 48Mhz of frequency. > The clock is available for general system use. > > Signed-off-by: Akshu Agrawal I'm not sure if the Stephen Boyd's comments on one of the p

Re: [PATCH] Staging:Comedi:comedi_compat32.c: Lindent changes

2018-05-15 Thread Ian Abbott
On 15/05/18 06:20, Pratik Jain wrote: Recommended indentation by Lindent on file comedi_compat32.c Signed-off-by: Pratik Jain --- drivers/staging/comedi/comedi_compat32.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/comedi/comedi_compat32.c

Re: [PATCH v6 04/11] firmware: xilinx: Add query data API

2018-05-15 Thread Sudeep Holla
On 14/05/18 20:16, Jolly Shah wrote: > HI Sudeep, > [...] >> >> Can you give more insight into this ? How will be this used ? How >> this aligns with data we get from DT ? I am just trying to >> understand how is this information split between this API and DT >> for example. >> > > This API

Re: [PATCH v5 1/2] clk: x86: Add ST oscout platform clock

2018-05-15 Thread Agrawal, Akshu
On 5/15/2018 3:02 PM, Rafael J. Wysocki wrote: > On Wednesday, May 9, 2018 11:59:00 AM CEST Akshu Agrawal wrote: >> Stoney SoC provides oscout clock. This clock can support 25Mhz and >> 48Mhz of frequency. >> The clock is available for general system use. >> >> Signed-off-by: Akshu Agrawal > >

Re: [PATCH 3/3] x86/MCE/AMD: Get address from already initialized block

2018-05-15 Thread Johannes Hirte
On 2018 Apr 17, Ghannam, Yazen wrote: > > -Original Message- > > From: linux-edac-ow...@vger.kernel.org > ow...@vger.kernel.org> On Behalf Of Johannes Hirte > > Sent: Monday, April 16, 2018 7:56 AM > > To: Ghannam, Yazen > > Cc: linux-e...@vger.kernel.org; linux-kernel@vger.kernel.org; b.

Re: [PATCH v2 27/29] venus: implementing multi-stream support

2018-05-15 Thread Stanimir Varbanov
Hi Hans, On 05/15/2018 11:17 AM, Hans Verkuil wrote: > Hi Stanimir, > > On 05/15/18 09:58, Stanimir Varbanov wrote: >> This is implementing a multi-stream decoder support. The multi >> stream gives an option to use the secondary decoder output >> with different raw format (or the same in case of

Re: [PATCH v3] ASoC: da7219: read fmw property to get mclk for non-dts systems

2018-05-15 Thread Agrawal, Akshu
On 5/7/2018 12:09 PM, Daniel Kurtz wrote: > On Sun, May 6, 2018 at 10:50 PM Agrawal, Akshu > wrote: > > > >> On 5/4/2018 2:45 PM, Adam Thomson wrote: >>> On 03 May 2018 08:59, Akshu Agrawal wrote: >>> Non-dts based systems can use ACPI DSDT to pass on the mclk to da7219. This e

Re: [PATCH 27/61] media: platform: s5p-mfc: simplify getting .drvdata

2018-05-15 Thread Sylwester Nawrocki
On 04/19/2018 04:05 PM, Wolfram Sang wrote: > We should get drvdata from struct device directly. Going via > platform_device is an unneeded step back and forth. > > Signed-off-by: Wolfram Sang Acked-by: Sylwester Nawrocki

[PATCH v2] media: dvb-frontends: add Socionext SC1501A ISDB-S/T demodulator driver

2018-05-15 Thread Katsuhiro Suzuki
This patch adds a frontend driver for the Socionext SC1501A series and Socionext MN88443x ISDB-S/T demodulators. Signed-off-by: Katsuhiro Suzuki --- Changes since v1: - Fix sparse warning about type of constant - Use div_s64() instead of divide operator --- drivers/media/dvb-frontends/Kcon

Re: [PATCH 26/61] media: platform: exynos4-is: simplify getting .drvdata

2018-05-15 Thread Sylwester Nawrocki
On 04/19/2018 04:05 PM, Wolfram Sang wrote: > We should get drvdata from struct device directly. Going via > platform_device is an unneeded step back and forth. > > Signed-off-by: Wolfram Sang Acked-by: Sylwester Nawrocki

Re: [PATCH V2 04/10] ASoC: amd: pte offset related dma driver changes

2018-05-15 Thread Mukunda,Vijendar
Hi Mark, You have merged 1-3 patch series. Still patch no 4 to 10 remaining. Could you please take them. Thanks, Vijendar On Tuesday 08 May 2018 10:17 AM, Vijendar Mukunda wrote: Added pte offset variable in audio_substream_data structure. Added Stoney related PTE offset macros in acp header f

Re: [PATCH] PM / AVS: rockchip-io: add io selectors and supplies for PX30

2018-05-15 Thread Heiko Stuebner
Hi David, looks good overall, some small things below. Am Dienstag, 15. Mai 2018, 11:23:37 CEST schrieb David Wu: > This adds the necessary data for handling io voltage domains on PX30. > As interesting tidbit, the PX30 contains two separate iodomain areas. > One in the regular General Register F

Re: [PATCH V5 2/4] soc: mediatek: pwrap: fix cipher init setting error

2018-05-15 Thread Matthias Brugger
On 05/10/2018 03:01 PM, argus@mediatek.com wrote: > From: Argus Lin > > PWRAP_DEW_CIPHER_LOAD and PWRAP_DEW_CIPHER_START only exist at > PMIC_mt6397 datasheet. We fix it before merge PMIC_mt6351 driver. > > Fixes: 5ae48040aa47 ("soc: mediatek: PMIC wrap: add mt6323 slave support") Same he

Re: [PATCH v3 5/5] drm/arm/malidp: Added the late system pm functions

2018-05-15 Thread Rafael J. Wysocki
On 5/14/2018 12:01 PM, Ayan Halder wrote: On Wed, Apr 25, 2018 at 01:49:35PM +0200, Daniel Vetter wrote: Hi Daniel, On Wed, Apr 25, 2018 at 1:26 PM, Liviu Dudau wrote: On Wed, Apr 25, 2018 at 09:17:22AM +0200, Daniel Vetter wrote: On Tue, Apr 24, 2018 at 07:12:47PM +0100, Ayan Kumar Halder wr

Re: [PATCH 13/18] kernel: add kcompat_sys_{f,}statfs64()

2018-05-15 Thread Mark Rutland
On Mon, May 14, 2018 at 10:34:14PM +0200, Dominik Brodowski wrote: > On Mon, May 14, 2018 at 06:14:28PM +0100, Mark Rutland wrote: > > On Mon, May 14, 2018 at 10:46:35AM +0100, Mark Rutland wrote: > > > +#ifdef CONFIG_COMPAT > > > +int kcompat_sys_statfs64(const char __user * pathname, compat_size_

Re: [PATCH V5 3/4] soc: mediatek: pwrap: add pwrap driver for mt6797 SoCs

2018-05-15 Thread Matthias Brugger
On 05/10/2018 03:01 PM, argus@mediatek.com wrote: > From: Argus Lin > > mt6797 is a highly integrated SoCs, it uses mt6351 for power management. > We need to add pwrap driver to access mt6351. Pwrap of mt6797 support > dynamic priority meichanism, sequence monitor and starvation mechanism >

Re: [PATCH 12/18] kernel: add ksys_personality()

2018-05-15 Thread Mark Rutland
On Mon, May 14, 2018 at 05:07:56AM -0700, Christoph Hellwig wrote: > On Mon, May 14, 2018 at 10:46:34AM +0100, Mark Rutland wrote: > > Using this helper allows us to avoid the in-kernel call to the > > sys_personality() syscall. The ksys_ prefix denotes that this function > > is meant as a drop-in

Re: [PATCH v3] KVM: X86: Lower the default timer frequency limit to 200us

2018-05-15 Thread Paolo Bonzini
On 05/05/2018 13:02, Wanpeng Li wrote: > From: Wanpeng Li > > Anthoine reported: > The period used by Windows change over time but it can be 1 > milliseconds or less. I saw the limit_periodic_timer_frequency > print so 500 microseconds is sometimes reached. > > As suggested by Paolo, lower

[PATCH 0/2] mmc: meson-gx: add device reset

2018-05-15 Thread Jerome Brunet
This patchset adds the optional reset of the meson-gx mmc controller and the related documentation. Changes since v1: [0] * Correct typo in the documentation * Separate code and documentation patches * Error on reset failure. [0]: https://lkml.kernel.org/r/20180426103817.12675-1-jbru...@baylib

[PATCH 2/2] mmc: meson-gx: add device reset

2018-05-15 Thread Jerome Brunet
Trigger the reset line of the mmc controller while probing, if available. The reset should be optional for now, at least until all related DT nodes have the reset property. Reviewed-by: Kevin Hilman Signed-off-by: Jerome Brunet --- drivers/mmc/host/meson-gx-mmc.c | 9 + 1 file changed,

Re: [PATCH 13/18] kernel: add kcompat_sys_{f,}statfs64()

2018-05-15 Thread Dominik Brodowski
On Tue, May 15, 2018 at 10:53:51AM +0100, Mark Rutland wrote: > On Mon, May 14, 2018 at 10:34:14PM +0200, Dominik Brodowski wrote: > > On Mon, May 14, 2018 at 06:14:28PM +0100, Mark Rutland wrote: > > > On Mon, May 14, 2018 at 10:46:35AM +0100, Mark Rutland wrote: > > > > +#ifdef CONFIG_COMPAT > >

[PATCH 1/2] dt-bindings: mmc: meson-gx: add reset

2018-05-15 Thread Jerome Brunet
Add the reset to the documentation of the meson-gx mmc controller bindings. Reviewed-by: Kevin Hilman Signed-off-by: Jerome Brunet --- Documentation/devicetree/bindings/mmc/amlogic,meson-gx.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/amlogic,m

Re: [PATCH 4.4 49/72] media: usbtv: prevent double free in error case

2018-05-15 Thread Oliver Neukum
Am Montag, den 14.05.2018, 18:41 +0100 schrieb Ben Hutchings: > > Shouldn't this bump the V4L2 device's reference count, i.e.: > > v4l2_device_get(&usbtv->v4l2_dev); > You are right. Mixing refcounting sucks. I am preparing a patch. Regards Oliver

Re: [PATCH 08/18] arm64: convert raw syscall invocation to C

2018-05-15 Thread Dominik Brodowski
On Tue, May 15, 2018 at 09:22:23AM +0100, Mark Rutland wrote: > On Mon, May 14, 2018 at 10:24:45PM +0200, Dominik Brodowski wrote: > > On Mon, May 14, 2018 at 12:41:10PM +0100, Mark Rutland wrote: > > > I agree it would be nicer if it had a wrapper that took a pt_regs, even > > > if it does nothing

Re: [PATCH v4 3/8] PCI: Rename device node parameter of of_pci_get_host_bridge_resources()

2018-05-15 Thread Vladimir Zapolskiy
On 05/15/2018 12:07 PM, Jan Kiszka wrote: > From: Jan Kiszka > > We will add a real device parameter to this function soon. > > Signed-off-by: Jan Kiszka Tested-by: Vladimir Zapolskiy Reviewed-by: Vladimir Zapolskiy -- With best wishes, Vladimir

Re: [PATCH v4 4/8] PCI: Replace dev_node parameter of of_pci_get_host_bridge_resources with device

2018-05-15 Thread Vladimir Zapolskiy
On 05/15/2018 12:07 PM, Jan Kiszka wrote: > From: Jan Kiszka > > Another step towards a managed version of > of_pci_get_host_bridge_resources(): Feed in the underlying device, > rather than just the OF node. This will allow to use managed resource > allocation internally later on. > > CC: Jingoo

Re: [PATCH v4 5/8] PCI: Replace pr_*() with dev_*() in of_pci_get_host_bridge_resources()

2018-05-15 Thread Vladimir Zapolskiy
On 05/15/2018 12:07 PM, Jan Kiszka wrote: > From: Jan Kiszka > > Now that we have a device reference, make use of it for printing. > > Signed-off-by: Jan Kiszka Tested-by: Vladimir Zapolskiy Reviewed-by: Vladimir Zapolskiy -- With best wishes, Vladimir

Re: [PATCH v4 6/8] PCI: Rework of_pci_get_host_bridge_resources() to devm_of_pci_get_host_bridge_resources()

2018-05-15 Thread Vladimir Zapolskiy
On 05/15/2018 12:07 PM, Jan Kiszka wrote: > From: Jan Kiszka > > of_pci_get_host_bridge_resources() allocates the resource structures it > fills dynamically, but none of its callers care to release them so far. > Rather than requiring everyone to do this explicitly, convert the > existing functio

[PATCH] hfsplus: don't return 0 when fill_super() failed

2018-05-15 Thread Tetsuo Handa
>From f78a5fe168290cb9e009f4d907d04b5bfe277831 Mon Sep 17 00:00:00 2001 From: Tetsuo Handa Date: Tue, 15 May 2018 11:38:38 +0900 Subject: [PATCH] hfsplus: don't return 0 when fill_super() failed syzbot is reporting NULL pointer dereference at mount_fs() [1]. This is because hfsplus_fill_super() i

[PATCH 1/2] arm64: dts: berlin4ct: use SPDX-License-Identifier

2018-05-15 Thread Jisheng Zhang
Follow the recent trend for the license description, and also fix the wrongly stated X11 to MIT. As already pointed on the DT ML, the X11 license text [1] is explicitly for the X Consortium and has a couple of extra clauses. The MIT license text [2] is actually what the current DT files claim. [1

[PATCH 2/2] arm64: dts: berlin4ct-*.dts: use SPDX-License-Identifier

2018-05-15 Thread Jisheng Zhang
Follow the recent trend for the license description, and also fix the wrongly stated X11 to MIT. As already pointed on the DT ML, the X11 license text [1] is explicitly for the X Consortium and has a couple of extra clauses. The MIT license text [2] is actually what the current DT files claim. [1

[PATCH] hfsplus: stop workqueue when fill_super() failed

2018-05-15 Thread Tetsuo Handa
>From ffd64dcf946502e7bb1d23c021ee9a4fc92f9312 Mon Sep 17 00:00:00 2001 From: Tetsuo Handa Date: Tue, 15 May 2018 12:23:03 +0900 Subject: [PATCH] hfsplus: stop workqueue when fill_super() failed syzbot is reporting ODEBUG messages at hfsplus_fill_super() [1]. This is because hfsplus_fill_super()

Re: [PATCH v2 3/3] sched/fair: schedutil: explicit update only when required

2018-05-15 Thread Vincent Guittot
Hi Patrick, On 11 May 2018 at 15:15, Patrick Bellasi wrote: > Schedutil updates for FAIR tasks are triggered implicitly each time a > cfs_rq's utilization is updated via cfs_rq_util_change(), currently > called by update_cfs_rq_load_avg(), when the utilization of a cfs_rq has > changed, and {atta

[PATCH 1/2] ARM: dts: berlin*.dtsi: use SPDX-License-Identifier for berlin SoCs

2018-05-15 Thread Jisheng Zhang
Follow the recent trend for the license description, and also fix the wrongly stated X11 to MIT. As already pointed on the DT ML, the X11 license text [1] is explicitly for the X Consortium and has a couple of extra clauses. The MIT license text [2] is actually what the current DT files claim. [1

Re: [PATCH v5 11/13] mm: Iterate only over charged shrinkers during memcg shrink_slab()

2018-05-15 Thread Kirill Tkhai
On 15.05.2018 08:44, Vladimir Davydov wrote: > On Thu, May 10, 2018 at 12:53:55PM +0300, Kirill Tkhai wrote: >> Using the preparations made in previous patches, in case of memcg >> shrink, we may avoid shrinkers, which are not set in memcg's shrinkers >> bitmap. To do that, we separate iterations o

Re: [PATCH 08/18] arm64: convert raw syscall invocation to C

2018-05-15 Thread Mark Rutland
On Tue, May 15, 2018 at 12:01:58PM +0200, Dominik Brodowski wrote: > On Tue, May 15, 2018 at 09:22:23AM +0100, Mark Rutland wrote: > > On Mon, May 14, 2018 at 10:24:45PM +0200, Dominik Brodowski wrote: > > > On Mon, May 14, 2018 at 12:41:10PM +0100, Mark Rutland wrote: > > > > I agree it would be n

[PATCH 2/2] ARM: dts: berlin*-dts: use SPDX-License-Identifier for berlin based board

2018-05-15 Thread Jisheng Zhang
Follow the recent trend for the license description, and also fix the wrongly stated X11 to MIT. As already pointed on the DT ML, the X11 license text [1] is explicitly for the X Consortium and has a couple of extra clauses. The MIT license text [2] is actually what the current DT files claim. [1

Re: [PATCH 3/3] sched/fair: schedutil: explicit update only when required

2018-05-15 Thread Vincent Guittot
On 14 May 2018 at 18:32, Patrick Bellasi wrote: > On 12-May 23:25, Joel Fernandes wrote: >> On Sat, May 12, 2018 at 11:04:43PM -0700, Joel Fernandes wrote: >> > On Thu, May 10, 2018 at 04:05:53PM +0100, Patrick Bellasi wrote: >> > > Schedutil updates for FAIR tasks are triggered implicitly each ti

[PATCH] ARM: dts: berlin2q: move PMU node from soc to root

2018-05-15 Thread Jisheng Zhang
Fix "make dtbs W=1" warns about missing reg or ranges property. Signed-off-by: Jisheng Zhang --- arch/arm/boot/dts/berlin2q.dtsi | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/arm/boot/dts/berlin2q.dtsi b/arch/arm/boot/dts/berlin2q.dtsi index

Re: [BUG] i2c-hid: ELAN Touchpad does not work on ASUS X580GD

2018-05-15 Thread Jarkko Nikula
On 05/15/2018 06:22 AM, Chris Chiu wrote: What if I change the 120MHz to 180MHz and then make sure that the I2C operates in target FS mode frequency 400kHz via scope? Would there be any side effect? Maybe some other busses frequency could be also affected and causing some other component malfunct

Re: [PATCH 14/18] fbdev: modedb.c: fix a kernel-doc markup

2018-05-15 Thread Bartlomiej Zolnierkiewicz
On Monday, May 07, 2018 06:35:50 AM Mauro Carvalho Chehab wrote: > Use code blocks to avoid those warnings and make it look nicer. > > ./drivers/video/fbdev/core/modedb.c:647: WARNING: Inline strong > start-string without end-string. > ./drivers/video/fbdev/core/modedb.c:647: WARNING:

Re: [PATCH v2 26/26] drm/bridge: establish a link between the bridge supplier and consumer

2018-05-15 Thread Daniel Vetter
On Mon, May 14, 2018 at 10:40 PM, Peter Rosin wrote: > On 2018-05-14 18:28, Daniel Vetter wrote: >> On Fri, May 11, 2018 at 09:37:47AM +0200, Peter Rosin wrote: >>> On 2018-05-10 10:10, Andrzej Hajda wrote: On 04.05.2018 15:52, Peter Rosin wrote: > If the bridge supplier is unbound, this

Re: [RFC PATCH 00/10] Add persistent clock support

2018-05-15 Thread Daniel Lezcano
On Mon, May 14, 2018 at 04:55:26PM +0800, Baolin Wang wrote: > Hi, > > We will meet below issues when compensating the suspend time for the > timekeeping. > > 1. We have too many different ways of dealing with persistent timekeeping > across architectures, so it is hard for one driver to compata

Re: [PATCH v2 11/11] docs: fix broken references with multiple hints

2018-05-15 Thread Bartlomiej Zolnierkiewicz
On Wednesday, May 09, 2018 10:18:54 AM Mauro Carvalho Chehab wrote: > The script: > ./scripts/documentation-file-ref-check --fix-rst > > Gives multiple hints for broken references on some files. > Manually use the one that applies for some files. > > Signed-off-by: Mauro Carvalho Chehab A

Re: [PATCH v1 1/4] media: rc: introduce BPF_PROG_IR_DECODER

2018-05-15 Thread Sean Young
On Mon, May 14, 2018 at 09:48:05PM -0700, Y Song wrote: > On Mon, May 14, 2018 at 2:10 PM, Sean Young wrote: > > Add support for BPF_PROG_IR_DECODER. This type of BPF program can call > > rc_keydown() to reported decoded IR scancodes, or rc_repeat() to report > > that the last key should be repeat

Re: [PATCH RFC 07/19] perf tools: Workaround missing maps for x86_64 KPTI entry trampolines

2018-05-15 Thread Jiri Olsa
On Wed, May 09, 2018 at 02:43:36PM +0300, Adrian Hunter wrote: SNIP > + > + for (i = 0; i < ARRAY_SIZE(syms); i++) { > + if (syms[i].addr) > + return syms[i].addr; > + } > + > + return 0; > +} > + > +/* > + * These values can be used for kernels that do

Re: Are media drivers abusing of GFP_DMA? - was: Re: [LSF/MM TOPIC NOTES] x86 ZONE_DMA love

2018-05-15 Thread Mauro Carvalho Chehab
Hi Laurent, Em Tue, 15 May 2018 11:27:44 +0300 Laurent Pinchart escreveu: > Hello, > > On Tuesday, 15 May 2018 10:30:28 EEST Fabien DESSENNE wrote: > > On 14/05/18 12:39, Mauro Carvalho Chehab wrote: > > > Em Mon, 14 May 2018 07:35:03 -0300 Mauro Carvalho Chehab escreveu: > > >> Em Mon, 14

Re: [PATCH v4 2/2] ThunderX2: Add Cavium ThunderX2 SoC UNCORE PMU driver

2018-05-15 Thread Ganapatrao Kulkarni
Hi Mark, On Sat, May 5, 2018 at 12:16 AM, Ganapatrao Kulkarni wrote: > Hi Mark, > > On Thu, Apr 26, 2018 at 4:29 PM, Mark Rutland wrote: >> Hi, >> >> On Wed, Apr 25, 2018 at 02:30:47PM +0530, Ganapatrao Kulkarni wrote: >>> + >>> +/* L3c and DMC has 16 and 8 channels per socket respectively. >>>

Re: [PATCH v2 2/2] i2c: core-smbus: fix a potential missing-check bug

2018-05-15 Thread Peter Rosin
On 2018-05-15 10:58, Wolfram Sang wrote: > Hi Peter, > In i2c_smbus_xfer_emulated(), the function i2c_transfer() is invoked to transfer i2c messages. The number of actual transferred messages is returned and saved to 'status'. If 'status' is negative, that means an error occurr

Re: [PATCH] video: fbdev: fix spelling mistake: "frambuffer" -> "framebuffer"

2018-05-15 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 01, 2018 09:37:42 AM Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in error messages > > Signed-off-by: Colin Ian King Patch queued for 4.18, thanks. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics

Re: [PATCH 06/18] arm64: move sve_user_{enable, disable} to

2018-05-15 Thread Mark Rutland
On Mon, May 14, 2018 at 12:06:50PM +0100, Dave Martin wrote: > On Mon, May 14, 2018 at 10:46:28AM +0100, Mark Rutland wrote: > > In subsequent patches, we'll want to make use of sve_user_enable() and > > sve_user_disable() outside of kernel/fpsimd.c. Let's move these to > > where we can make use o

Re: [PATCH] video: fbdev: nvidia: fix spelling mistake: "scaleing" -> "scaling"

2018-05-15 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 08, 2018 11:36:19 PM Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in module parameter description text > > Signed-off-by: Colin Ian King Patch queued for 4.18, thanks. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsu

Re: [PATCH v1 4/4] samples/bpf: an example of a raw IR decoder

2018-05-15 Thread Sean Young
On Mon, May 14, 2018 at 10:34:57PM -0700, Y Song wrote: > On Mon, May 14, 2018 at 2:11 PM, Sean Young wrote: > > This implements the grundig-16 IR protocol. > > > > Signed-off-by: Sean Young > > --- > > samples/bpf/Makefile | 4 + > > samples/bpf/bpf_load.c

Re: [PATCH RFC 07/19] perf tools: Workaround missing maps for x86_64 KPTI entry trampolines

2018-05-15 Thread Adrian Hunter
On 15/05/18 13:30, Jiri Olsa wrote: > On Wed, May 09, 2018 at 02:43:36PM +0300, Adrian Hunter wrote: > > SNIP > >> + >> +for (i = 0; i < ARRAY_SIZE(syms); i++) { >> +if (syms[i].addr) >> +return syms[i].addr; >> +} >> + >> +return 0; >> +} >> + >> +/* >

Re: [Ksummit-discuss] bug-introducing patches

2018-05-15 Thread Krzysztof Kozlowski
On Wed, May 9, 2018 at 2:43 PM, Stephen Rothwell wrote: > Hi Vinod, > > On Wed, 9 May 2018 16:25:34 +0530 Vinod Koul wrote: >> > >> > I currently have 44 such fixes branches. More welcome! >> >> Great so do you want us to send fixes branch or scan the existing trees and >> add >> them. > > The

Re: [PATCH] mm: Add new vma flag VM_LOCAL_CPU

2018-05-15 Thread Boaz Harrosh
On 15/05/18 03:41, Matthew Wilcox wrote: > On Mon, May 14, 2018 at 10:37:38PM +0300, Boaz Harrosh wrote: >> On 14/05/18 22:15, Matthew Wilcox wrote: >>> On Mon, May 14, 2018 at 08:28:01PM +0300, Boaz Harrosh wrote: On a call to mmap an mmap provider (like an FS) can put this flag on vma->

Re: [PATCH] mm: Add new vma flag VM_LOCAL_CPU

2018-05-15 Thread Boaz Harrosh
On 15/05/18 10:08, Christoph Hellwig wrote: > On Mon, May 14, 2018 at 09:26:13PM +0300, Boaz Harrosh wrote: >> I am please pushing for this patch ahead of the push of ZUFS, because >> this is the only patch we need from otherwise an STD Kernel. >> >> We are partnering with Distro(s) to push ZUFS ou

Re: [PATCH RFC 11/19] perf tools: Synthesize and process mmap events for x86_64 KPTI entry trampolines

2018-05-15 Thread Jiri Olsa
On Wed, May 09, 2018 at 02:43:40PM +0300, Adrian Hunter wrote: > Like the kernel text, the location of x86_64 KPTI entry trampolines must be > recorded in the perf.data file. Like the kernel, synthesize a mmap event > for that, and add processing for it. > > Signed-off-by: Adrian Hunter > --- >

[PATCH v2 1/3] f2fs: fix to initialize i_current_depth according to inode type

2018-05-15 Thread Chao Yu
i_current_depth is used only for directory inode, but its space is shared with i_gc_failures field used for regular inode, in order to avoid affecting i_gc_failures' value, this patch fixes to initialize the union's fields according to inode type. Signed-off-by: Chao Yu --- v2: - rebase code. fs

Re: linux-next: build warning after merge of the netfilter-next tree

2018-05-15 Thread Geert Uytterhoeven
Hi Florian, On Tue, May 8, 2018 at 9:17 AM, Florian Westphal wrote: > Stephen Rothwell wrote: >> On Mon, 7 May 2018 10:55:19 +1000 Stephen Rothwell >> wrote: >> > >> > After merging the netfilter-next tree, today's linux-next build (x86_64 >> > allmodconfig) produced this warning: >> > >> > ./

[PATCH] f2fs: fix to initialize min_mtime with ULLONG_MAX

2018-05-15 Thread Chao Yu
Since sit_i.min_mtime's type is unsigned long long, so we should initialize it with max value of the type ULLONG_MAX instead of LLONG_MAX. Signed-off-by: Chao Yu --- fs/f2fs/segment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index

Re: [PATCH v2 1/3] f2fs: fix to initialize i_current_depth according to inode type

2018-05-15 Thread Chao Yu
Sorry, I sent the wrong patch, please ignore this one. On 2018/5/15 18:50, Chao Yu wrote: > i_current_depth is used only for directory inode, but its space is > shared with i_gc_failures field used for regular inode, in order to > avoid affecting i_gc_failures' value, this patch fixes to initializ

Re: [RFC PATCH v2 2/2] locking/percpu-rwsem: Mark rwsem as non-spinnable in percpu_rwsem_release()

2018-05-15 Thread Oleg Nesterov
On 05/15, Peter Zijlstra wrote: > > So what's wrong with adding: > > if (!read) > sem->rw_sem.owner = current; Agreed, I have already suggested this change twice. Except we obviously need to check CONFIG_RWSEM_SPIN_ON_OWNER (->owner doesn't exists otherwise) or even CONFIG_DEBU

Re: [PATCH v2 26/26] drm/bridge: establish a link between the bridge supplier and consumer

2018-05-15 Thread Peter Rosin
On 2018-05-15 12:22, Daniel Vetter wrote: > On Mon, May 14, 2018 at 10:40 PM, Peter Rosin wrote: >> On 2018-05-14 18:28, Daniel Vetter wrote: >>> On Fri, May 11, 2018 at 09:37:47AM +0200, Peter Rosin wrote: On 2018-05-10 10:10, Andrzej Hajda wrote: > On 04.05.2018 15:52, Peter Rosin wrote

Re: [PATCH RFC v2 3/5] KVM: nVMX: add enlightened VMCS state

2018-05-15 Thread Vitaly Kuznetsov
Paolo Bonzini writes: > On 11/05/2018 15:37, Vitaly Kuznetsov wrote: >> -if (enable_shadow_vmcs) >> -to_vmx(vcpu)->nested.sync_shadow_vmcs = true; >> + >> +if (vmx->nested.hv_evmcs) >> +vmx->nested.sync_enlightened_vmcs = true; >> +else if (enable_shadow_vmcs)

Re: [PATCH] mm: Add new vma flag VM_LOCAL_CPU

2018-05-15 Thread Matthew Wilcox
On Tue, May 15, 2018 at 01:43:23PM +0300, Boaz Harrosh wrote: > On 15/05/18 03:41, Matthew Wilcox wrote: > > On Mon, May 14, 2018 at 10:37:38PM +0300, Boaz Harrosh wrote: > >> On 14/05/18 22:15, Matthew Wilcox wrote: > >>> On Mon, May 14, 2018 at 08:28:01PM +0300, Boaz Harrosh wrote: > On a ca

Re: [PATCH v2 4/4] ARM: PWM: add allwinner sun8i pwm support.

2018-05-15 Thread Maxime Ripard
Hi, On Mon, May 14, 2018 at 10:45:44PM +0800, Hao Zhang wrote: > 2018-02-26 17:00 GMT+08:00 Maxime Ripard : > > Thanks for respinning this serie. It looks mostly good, but you still > > have a quite significant number of checkpatch (--strict) warnings that > > you should address. > > Thanks for r

Re: [PATCH 09/21] arm64: dts: allwinner: a64: Add HDMI support

2018-05-15 Thread Maxime Ripard
On Mon, May 14, 2018 at 04:01:15PM +0530, Jagan Teki wrote: > On Mon, May 14, 2018 at 2:10 PM, Maxime Ripard > wrote: > > On Mon, May 14, 2018 at 02:03:36PM +0530, Jagan Teki wrote: > >> On Wed, May 2, 2018 at 5:04 PM, Maxime Ripard > >> wrote: > >> > Hi, > >> > > >> > On Mon, Apr 30, 2018 at 05

Re: [RFC PATCH 01/10] devfreq: rockchip-dfi: Move GRF definitions to a common place.

2018-05-15 Thread Robin Murphy
Hi Enric, On 14/05/18 22:16, Enric Balletbo i Serra wrote: Some rk3399 GRF (Generic Register Files) definitions can be used for different drivers. Move these definitions to a common include so we don't need to duplicate these definitions. Signed-off-by: Enric Balletbo i Serra --- drivers/de

Re: [PATCH 07/14] net: sched: use reference counting action init

2018-05-15 Thread Jiri Pirko
Mon, May 14, 2018 at 04:27:08PM CEST, vla...@mellanox.com wrote: >Change action API to assume that action init function always takes >reference to action, even when overwriting existing action. This is >necessary because action API continues to use action pointer after init >function is done. At th

Re: [PATCH v2 1/5] staging: lustre: llite: add support set_acl method in inode operations

2018-05-15 Thread Dan Carpenter
On Mon, May 14, 2018 at 10:16:59PM -0400, James Simmons wrote: > +#ifdef CONFIG_FS_POSIX_ACL > struct posix_acl *ll_get_acl(struct inode *inode, int type) > { > struct ll_inode_info *lli = ll_i2info(inode); > @@ -3043,6 +3044,64 @@ struct posix_acl *ll_get_acl(struct inode *inode, int > ty

Re: [PATCH 07/14] net: sched: use reference counting action init

2018-05-15 Thread Vlad Buslov
On Tue 15 May 2018 at 11:24, Jiri Pirko wrote: > Mon, May 14, 2018 at 04:27:08PM CEST, vla...@mellanox.com wrote: >>Change action API to assume that action init function always takes >>reference to action, even when overwriting existing action. This is >>necessary because action API continues to

Re: [RFC PATCH v2 2/2] locking/percpu-rwsem: Mark rwsem as non-spinnable in percpu_rwsem_release()

2018-05-15 Thread Oleg Nesterov
On 05/15, Jan Kara wrote: > > Now this behavior upsets lockdep and that's why we fool it by telling the > semaphore got released before returning to userspace (through > percpu_rwsem_release() helper) and similarly we tell lockdep we've got the > semaphore when an unfreeze syscall is called by perc

Re: [PATCH 07/14] net: sched: use reference counting action init

2018-05-15 Thread Jiri Pirko
Tue, May 15, 2018 at 01:32:51PM CEST, vla...@mellanox.com wrote: > >On Tue 15 May 2018 at 11:24, Jiri Pirko wrote: >> Mon, May 14, 2018 at 04:27:08PM CEST, vla...@mellanox.com wrote: >>>Change action API to assume that action init function always takes >>>reference to action, even when overwriting

Re: [PATCH 07/14] net: sched: use reference counting action init

2018-05-15 Thread Vlad Buslov
On Tue 15 May 2018 at 11:39, Jiri Pirko wrote: > Tue, May 15, 2018 at 01:32:51PM CEST, vla...@mellanox.com wrote: >> >>On Tue 15 May 2018 at 11:24, Jiri Pirko wrote: >>> Mon, May 14, 2018 at 04:27:08PM CEST, vla...@mellanox.com wrote: Change action API to assume that action init function alw

Re: [tip:locking/core] locking/atomics: Simplify the op definitions in atomic.h some more

2018-05-15 Thread Peter Zijlstra
On Tue, May 15, 2018 at 10:35:56AM +0200, Ingo Molnar wrote: > Which is just _half_ the linecount. It also provides less. I do not believe smaller is better here. The line count really isn't the problem with this stuff. The main pain point here is keeping the atomic, atomic64 and atomic_long crud

Re: [PATCH] mm: Add new vma flag VM_LOCAL_CPU

2018-05-15 Thread Boaz Harrosh
On 15/05/18 14:11, Matthew Wilcox wrote: > On Tue, May 15, 2018 at 01:43:23PM +0300, Boaz Harrosh wrote: >> On 15/05/18 03:41, Matthew Wilcox wrote: >>> On Mon, May 14, 2018 at 10:37:38PM +0300, Boaz Harrosh wrote: On 14/05/18 22:15, Matthew Wilcox wrote: > On Mon, May 14, 2018 at 08:28:01

Re: [PATCH] ARM: dts: imx7d: correct cpu supply name for voltage scaling

2018-05-15 Thread Fabio Estevam
On Tue, May 15, 2018 at 6:13 AM, Anson Huang wrote: > diff --git a/arch/arm/boot/dts/imx7d-cl-som-imx7.dts > b/arch/arm/boot/dts/imx7d-cl-som-imx7.dts > index 7f64568..60deaf9 100644 > --- a/arch/arm/boot/dts/imx7d-cl-som-imx7.dts > +++ b/arch/arm/boot/dts/imx7d-cl-som-imx7.dts > @@ -33,7 +33,7

Re: INFO: task hung in blk_queue_enter

2018-05-15 Thread Tetsuo Handa
I managed to obtain SysRq-t when khungtaskd fires using debug printk() ( https://groups.google.com/forum/#!topic/syzkaller-bugs/OTuOsVebAiE ). Only 4 threads shown below seems to be relevant to this problem. [ 246.929688] taskPC stack pid father [ 249.888937] jbd2/sda

Re: [PATCH] mm: Add new vma flag VM_LOCAL_CPU

2018-05-15 Thread Peter Zijlstra
On Tue, May 15, 2018 at 01:43:23PM +0300, Boaz Harrosh wrote: > Yes I know, but that is exactly the point of this flag. I know that this > address is only ever accessed from a single core. Because it is an mmap (vma) > of an O_TMPFILE-exclusive file created in a core-pinned thread and I allow > onl

[PATCH v2] PM / AVS: rockchip-io: add io selectors and supplies for PX30

2018-05-15 Thread David Wu
This adds the necessary data for handling io voltage domains on PX30. As interesting tidbit, the PX30 contains two separate iodomain areas. One in the regular General Register Files (GRF) and one in PMUGRF in the pmu power domain. Signed-off-by: David Wu --- .../bindings/power/rockchip-io-domain

Re: [RFC PATCH v2 2/2] locking/percpu-rwsem: Mark rwsem as non-spinnable in percpu_rwsem_release()

2018-05-15 Thread Peter Zijlstra
On Tue, May 15, 2018 at 01:06:33PM +0200, Oleg Nesterov wrote: > On 05/15, Peter Zijlstra wrote: > > > > So what's wrong with adding: > > > > if (!read) > > sem->rw_sem.owner = current; > > Agreed, I have already suggested this change twice. Except we obviously > need to check CONF

Re: [PATCH v2] PM / AVS: rockchip-io: add io selectors and supplies for PX30

2018-05-15 Thread Heiko Stuebner
Hi David, Am Dienstag, 15. Mai 2018, 13:48:19 CEST schrieb David Wu: > This adds the necessary data for handling io voltage domains on PX30. > As interesting tidbit, the PX30 contains two separate iodomain areas. > One in the regular General Register Files (GRF) and one in PMUGRF in the > pmu powe

[PATCH v3] x86/io: Define readq()/writeq() to use 64-bit type

2018-05-15 Thread Andy Shevchenko
Since non atomic readq() and writeq() were added some of the drivers would like to use it in a manner of: #include ... pr_debug("Debug value of some register: %016llx\n", readq(addr)); However, lo_hi_readq() always returns __u64 data, while readq() on x86_64 defines it as unsigned long. and th

Re: [PATCH 05/14] net: sched: always take reference to action

2018-05-15 Thread Vlad Buslov
On Tue 15 May 2018 at 08:58, Jiri Pirko wrote: > Mon, May 14, 2018 at 08:49:07PM CEST, vla...@mellanox.com wrote: >> >>On Mon 14 May 2018 at 16:23, Jiri Pirko wrote: >>> Mon, May 14, 2018 at 04:27:06PM CEST, vla...@mellanox.com wrote: Without rtnl lock protection it is no longer safe to use

Re: [PATCH 03/19 v3] regulator: arizona-ldo1: Look up a descriptor and pass to the core

2018-05-15 Thread Charles Keepax
On Mon, May 14, 2018 at 10:06:24AM +0200, Linus Walleij wrote: > Instead of passing a global GPIO number, pass a descriptor looked > up with the standard devm_gpiod_get_optional() call. > > We have augmented the GPIO core to look up the regulator special > GPIO "wlf,ldoena" in commit 6a537d48461d

Re: [External] Re: [PATCH 2/3] include/linux/gfp.h: use unsigned int in gfp_zone

2018-05-15 Thread Matthew Wilcox
On Wed, May 09, 2018 at 11:36:59AM +0200, David Sterba wrote: > On Mon, May 07, 2018 at 05:25:47PM -0700, Matthew Wilcox wrote: > > On Mon, May 07, 2018 at 11:25:01PM +0200, David Sterba wrote: > > > On Mon, May 07, 2018 at 11:44:10AM -0700, Matthew Wilcox wrote: > > > > But something like btrfs sh

Re: [PATCH] mm: Add new vma flag VM_LOCAL_CPU

2018-05-15 Thread Boaz Harrosh
On 15/05/18 03:44, Matthew Wilcox wrote: > On Mon, May 14, 2018 at 02:49:01PM -0700, Andrew Morton wrote: >> On Mon, 14 May 2018 20:28:01 +0300 Boaz Harrosh wrote: >>> In this project we utilize a per-core server thread so everything >>> is kept local. If we use the regular zap_ptes() API All CPU'

Re: [Ksummit-discuss] bug-introducing patches

2018-05-15 Thread Stephen Rothwell
Hi Krzysztof, On Tue, 15 May 2018 12:42:49 +0200 Krzysztof Kozlowski wrote: > > Please merge following fixes branches from my trees: > Tree: samsung-krzk > git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git > branch: fixes > > Tree: pinctrl-samsung > git://git.kernel.org/pub/scm/linux/

Re: [PATCH 07/14] net: sched: use reference counting action init

2018-05-15 Thread Jiri Pirko
Tue, May 15, 2018 at 01:41:45PM CEST, vla...@mellanox.com wrote: > >On Tue 15 May 2018 at 11:39, Jiri Pirko wrote: >> Tue, May 15, 2018 at 01:32:51PM CEST, vla...@mellanox.com wrote: >>> >>>On Tue 15 May 2018 at 11:24, Jiri Pirko wrote: Mon, May 14, 2018 at 04:27:08PM CEST, vla...@mellanox.c

Re: [PATCH 01/11] media: tm6000: fix potential Spectre variant 1

2018-05-15 Thread Mauro Carvalho Chehab
Em Mon, 14 May 2018 22:31:37 -0500 "Gustavo A. R. Silva" escreveu: > Hi Mauro, > > On 04/26/2018 06:42 PM, Mauro Carvalho Chehab wrote: > > >> > >> I noticed you changed the status of this series from rejected to new. > > > > Yes. > > > >> Also, there are other similar issues in media/pci/ >

Re: [PATCH 07/14] net: sched: use reference counting action init

2018-05-15 Thread Vlad Buslov
On Tue 15 May 2018 at 11:57, Jiri Pirko wrote: > Tue, May 15, 2018 at 01:41:45PM CEST, vla...@mellanox.com wrote: >> >>On Tue 15 May 2018 at 11:39, Jiri Pirko wrote: >>> Tue, May 15, 2018 at 01:32:51PM CEST, vla...@mellanox.com wrote: On Tue 15 May 2018 at 11:24, Jiri Pirko wrote:

Re: [PATCH] staging: speakup: use true/false instead of 1/0

2018-05-15 Thread Dan Carpenter
On Mon, May 14, 2018 at 10:57:25PM +0200, Samuel Thibault wrote: > Signed-off-by: Samuel Thibault Greg doesn't accept patches without a commit message. Just say which tool warned for example. regards, dan carpenter

Re: [PATCH] mm: Add new vma flag VM_LOCAL_CPU

2018-05-15 Thread Matthew Wilcox
On Tue, May 15, 2018 at 02:41:41PM +0300, Boaz Harrosh wrote: > That would be very hard. Because that program would: > - need to be root > - need to start and pretend it is zus Server with the all mount > thread thing, register new filesystem, grab some pmem devices. > - Mount the said filesystem

Re: [PATCH] staging: bcm2835-camera: Replace open-coded idr with a struct idr.

2018-05-15 Thread Dan Carpenter
On Thu, May 10, 2018 at 04:31:07PM -0700, Eric Anholt wrote: > @@ -258,32 +181,40 @@ get_msg_context(struct vchiq_mmal_instance *instance) > if (!msg_context) > return ERR_PTR(-ENOMEM); > > - msg_context->instance = instance; > - msg_context->handle = > - m

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