[PATCH 3/4] dt-bindings: Add vendor prefix for elgin

2019-01-03 Thread Otavio Salvador
Add elgin vendor definition as 'Elgin S/A.' Signed-off-by: Otavio Salvador --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt

[PATCH 1/4] ARM: dts: rockchip: Add missing dma-names SPI support for rv1108

2019-01-03 Thread Otavio Salvador
Pass the 'dma-names' property to the SPI ports so that DMA can be supported. Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/rv1108.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index d31370ff28f4..cb26d9d98c34

Re: [RFC] LKML Archive in Maildir Format

2019-01-03 Thread Eric Wong
Joey Pabalinas wrote: > My only comment on the public-mailbox choice is that the documentation > is very sparse and erratic. Myself and a couple other people just > couldn't figure out how to convert that format to Maildir or some other > format you could feed into a reader like neomutt. Sorry,

[PATCH -next] f2fs: remove set but not used variable 'err'

2019-01-03 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: fs/f2fs/data.c: In function 'f2fs_dio_submit_bio': fs/f2fs/data.c:2585:6: warning: variable 'err' set but not used [-Wunused-but-set-variable] Signed-off-by: YueHaibing --- fs/f2fs/data.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-)

Re: [PATCH v2 1/2] swiotlb: add debugfs to track swiotlb buffer usage

2019-01-03 Thread Dongli Zhang
Hi Konrad, Would you please take a look on those two patches? In addition, there is another patch correcting an error in comment. https://lkml.org/lkml/2018/12/5/1721 Thank you very much! Dongli Zhang On 12/11/2018 05:05 AM, Joe Jin wrote: > On 12/10/18 12:00 PM, Tim Chen wrote: >>> @@

Re: [PATCH v3 1/1] xen/blkback: rework connect_ring() to avoid inconsistent xenstore 'ring-page-order' set by malicious blkfront

2019-01-03 Thread Dongli Zhang
Ping? Dongli Zhang On 12/19/2018 09:23 PM, Dongli Zhang wrote: > The xenstore 'ring-page-order' is used globally for each blkback queue and > therefore should be read from xenstore only once. However, it is obtained > in read_per_ring_refs() which might be called multiple times during the >

[GIT PULL] xfs: more updates for v4.21

2019-01-03 Thread Darrick J. Wong
Hi Linus, Here are a couple more small bug fixes for 4.21-rc1. It has undergone the usual testing regimen and merges cleanly with 4.20 final. Let me know if you encounter any problems with the merge. --D The following changes since commit 65eed012d1f2d0f0bf0ffc036826d58147de77b8: xfs:

[GIT PULL] iomap: more updates for v4.21

2019-01-03 Thread Darrick J. Wong
Hi Linus, Christoph Hellwig and I have decided to take responsibility for the fs iomap code rather than let it languish further. Let me know if you encounter any problems with the merge. --D The following changes since commit 3cc31fa65d85610574c0f6a474e89f4c419923d5: iomap: don't search

Re: iommu_intel or i915 regression in 4.18, 4.19.12 and drm-tip

2019-01-03 Thread Eric Wong
Joonas Lahtinen wrote: > Quoting Eric Wong (2018-12-27 13:49:48) > > I just got a used Thinkpad X201 (Core i5 M 520, Intel QM57 > > chipset) and hit some kernel panics while trying to view > > image/animation-intensive stuff in Firefox (X11) unless I use > > "iommu_intel=igfx_off". > > > > With

Re: [PATCH] riscv: remove redundant kernel-space generic-y

2019-01-03 Thread Palmer Dabbelt
On Sun, 16 Dec 2018 06:11:11 PST (-0800), yamada.masah...@socionext.com wrote: This commit removes redundant generic-y defines in arch/riscv/include/asm/Kbuild. [1] It is redundant to define the same generic-y in both arch/$(ARCH)/include/asm/Kbuild and

[PATCH] security/selinux/hooks: remove unneeded semicolon

2019-01-03 Thread Peng Hao
Remove unneeded semicolon. Signed-off-by: Peng Hao --- security/selinux/hooks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index a67459e..73c679e 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@

[PATCH] security/apparmor/domain: use PTR_ERR_OR_ZERO

2019-01-03 Thread Peng Hao
The variable 'new' may be NULL, so use PTR_ERR_OR_ZERO instead of PTR_ERR. Signed-off-by: Peng Hao --- security/apparmor/domain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/apparmor/domain.c b/security/apparmor/domain.c index 08c88de..7663589 100644 ---

Re: [PATCH] fsi:fsi-sbefifo: Fix possible concurrency use-after-free bugs in sbefifo_user_release

2019-01-03 Thread Benjamin Herrenschmidt
On Wed, 2018-12-26 at 21:56 +0800, Jia-Ju Bai wrote: > In drivers/fsi/fsi-sbefifo.c, the functions sbefifo_user_release(), > sbefifo_user_read() and sbefifo_user_write() may be concurrently executed. So after refreshing my mind, looking at the code and talking with Al, I really dont' see what

Re: [PATCH 2/3] qcom: spmi-gpio: add support for hierarchical IRQ chip

2019-01-03 Thread Stephen Boyd
Quoting Brian Masney (2018-12-29 03:47:54) > spmi-gpio did not have any irqchip support so consumers of this in > device tree would need to call gpio[d]_to_irq() in order to get the > proper IRQ on the underlying PMIC. IRQ chips in device tree should > be usable from the start without the consumer

Re: [PATCH 3/8] i40e: increase indentation

2019-01-03 Thread Jeff Kirsher
On Thu, 2019-01-03 at 16:37 -0800, David Miller wrote: > From: Jeff Kirsher > Date: Thu, 03 Jan 2019 15:58:10 -0800 > > > On Sun, 2018-12-30 at 16:53 +0100, Julia Lawall wrote: > > > Convert spaces to tabs to get correct alignment. > > > > > > Found with the help of Coccinelle. > > > > > >

[PATCH] i2c: core-smbus: don't trace smbus_reply data on errors

2019-01-03 Thread John Sperbeck
If an smbus transfer fails, there's no guarantee that the output buffer was written. So, avoid copying from the output buffer when tracing after an error. This was 'mostly harmless', but would trip up kasan checking if left-over cruft in byte 0 is a large length, causing us to read from

Re: [PATCH 3/8] i40e: increase indentation

2019-01-03 Thread David Miller
From: Jeff Kirsher Date: Thu, 03 Jan 2019 15:58:10 -0800 > On Sun, 2018-12-30 at 16:53 +0100, Julia Lawall wrote: >> Convert spaces to tabs to get correct alignment. >> >> Found with the help of Coccinelle. >> >> Signed-off-by: Julia Lawall >> >> --- >>

Re: [PATCH v2 1/4] dt-bindings: Correct RISC-V's timebase-frequency

2019-01-03 Thread Palmer Dabbelt
On Fri, 14 Dec 2018 01:17:24 PST (-0800), daniel.lezc...@linaro.org wrote: On 14/12/2018 00:14, Atish Patra wrote: From: Palmer Dabbelt In RISC-V systems, timebase-frequency is per cpu instead of one instance for entire SOC as there is a individual timer per each CPU. Fix the DT binding

Re: [RFC v2 1/6] x86: introduce kernel restartable sequence

2019-01-03 Thread hpa
On December 30, 2018 11:21:07 PM PST, Nadav Amit wrote: >It is sometimes beneficial to have a restartable sequence - very few >instructions which if they are preempted jump to a predefined point. > >To provide such functionality on x86-64, we use an empty REX-prefix >(opcode 0x40) as an

Re: [RESEND PATCH] ARM: multi_v7_defconfig: enable CONFIG_UNIPHIER_MDMAC

2019-01-03 Thread Masahiro Yamada
Hi Olof, Arnd, On Sat, Dec 22, 2018 at 12:27 AM Masahiro Yamada wrote: > > Enable the UniPhier MIO DMAC driver. This is used as the DMA engine > for accelerating the SD/eMMC controller drivers. > > Signed-off-by: Masahiro Yamada > --- > > When I sent this last time, Olof asked me to resend it

Re: [PATCH 3/3] ARM: dts: qcom: msm8974: add interrupt properties

2019-01-03 Thread Stephen Boyd
Quoting Brian Masney (2018-12-29 03:47:55) > Add interrupt properties now that spmi-gpio is a proper hierarchical IRQ > chip. > > Signed-off-by: Brian Masney > --- > arch/arm/boot/dts/qcom-pm8941.dtsi | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git

Re: [PATCH] arm64: replace arm64-obj-* in Makefile with obj-*

2019-01-03 Thread Masahiro Yamada
Hi Will, On Fri, Dec 14, 2018 at 7:40 PM Will Deacon wrote: > > On Fri, Dec 14, 2018 at 07:35:57PM +0900, Masahiro Yamada wrote: > > Hi Will, > > > > On Fri, Dec 14, 2018 at 6:54 PM Will Deacon wrote: > > > > > > Hi Masahiro, > > > > > > On Fri, Dec 14, 2018 at 01:01:52PM +0900, Masahiro Yamada

Re: [PATCH] RCU/torture.txt: remove section MODULE PARAMETERS

2019-01-03 Thread Junchang Wang
On Fri, Jan 4, 2019 at 1:03 AM Paul E. McKenney wrote: > > On Thu, Jan 03, 2019 at 10:24:51PM +0800, Junchang Wang wrote: > > The supported module parameters are detailed in both RCU/torture.txt and > > admin-guide/kernel-parameters.txt, and the latter is actively maintained. > > So this patch

[PATCH V1] i2c: tegra: Add Bus Clear Master Support

2019-01-03 Thread Sowjanya Komatineni
Bus Clear feature of tegra i2c controller helps to recover from bus hang when i2c master loses the bus arbitration due to the slave device holding SDA LOW continuously for some unknown reasons. Signed-off-by: Sowjanya Komatineni --- drivers/i2c/busses/i2c-tegra.c | 65

[PATCH v2] arm64: replace arm64-obj-* in Makefile with obj-*

2019-01-03 Thread Masahiro Yamada
Use the standard obj-$(CONFIG_...) syntex. The behavior is still the same. Signed-off-by: Masahiro Yamada --- Changes in v2: - Rebase arch/arm64/kernel/Makefile | 61 +++--- 1 file changed, 30 insertions(+), 31 deletions(-) diff --git

[PATCH V4] i2c: tegra: Fix Maximum transfer size

2019-01-03 Thread Sowjanya Komatineni
Tegra194 supports maximum 64K Bytes transfer per packet. Tegra186 and prior supports maximum 4K Bytes transfer per packet. This patch fixes this payload difference between Tegra194 and prior tegra chipsets using separate i2c_adapter_quirks. Signed-off-by: Sowjanya Komatineni ---

Re: [PATCH v2 1/2] dt-bindings: remoteproc: qcom: Add firmware bindings for Q6V5

2019-01-03 Thread Brian Norris
Hi Bjorn, On Thu, Jan 03, 2019 at 04:01:45PM -0800, Bjorn Andersson wrote: > On Thu 03 Jan 15:50 PST 2019, Brian Norris wrote: > > > On Thu, Jan 03, 2019 at 03:30:14PM -0800, Brian Norris wrote: > > > On Fri, Dec 28, 2018 at 10:18:18AM +0530, Sibi Sankar wrote: > > > > +- firmware-name: > > > >

Re: [PATCH v2 1/2] dt-bindings: remoteproc: qcom: Add firmware bindings for Q6V5

2019-01-03 Thread Bjorn Andersson
On Thu 03 Jan 15:50 PST 2019, Brian Norris wrote: > On Thu, Jan 03, 2019 at 03:30:14PM -0800, Brian Norris wrote: > > On Fri, Dec 28, 2018 at 10:18:18AM +0530, Sibi Sankar wrote: > > > +- firmware-name: > > > + Usage: optional > > > + Value type: > > > + Definition: must list the relative

Re: [PATCH 3/8] i40e: increase indentation

2019-01-03 Thread Jeff Kirsher
On Sun, 2018-12-30 at 16:53 +0100, Julia Lawall wrote: > Convert spaces to tabs to get correct alignment. > > Found with the help of Coccinelle. > > Signed-off-by: Julia Lawall > > --- > drivers/net/ethernet/intel/i40e/i40e_main.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 2/2] hugetlbfs: Revert "use i_mmap_rwsem for more pmd sharing synchronization"

2019-01-03 Thread Mike Kravetz
This reverts commit b43a9990055958e70347c56f90ea2ae32c67334c The reverted commit caused issues with migration and poisoning of anon huge pages. The LTP move_pages12 test will cause an "unable to handle kernel NULL pointer" BUG would occur with stack similar to: RIP: 0010:down_write+0x1b/0x40

Re: [RFC v2 1/6] x86: introduce kernel restartable sequence

2019-01-03 Thread Nadav Amit
> On Jan 3, 2019, at 3:40 PM, Andi Kleen wrote: > >> Thanks for the explanations. I don’t think it would work (e.g., IRQs). I can >> avoid generalizing and just detect the "magic sequence” of the code, but let >> me give it some more thought. > > If you ask me I would just use compiler profile

[PATCH 1/2] hugetlbfs: Revert "Use i_mmap_rwsem to fix page fault/truncate race"

2019-01-03 Thread Mike Kravetz
This reverts commit c86aa7bbfd5568ba8a82d3635d8f7b8a8e06fe54 The reverted commit caused ABBA deadlocks when file migration raced with file eviction for specific hugetlbfs files. This was discovered with a modified version of the LTP move_pages12 test. The purpose of the reverted patch was to

Re: "bpf: Improve the info.func_info and info.func_info_rec_size behavior" breaks strace self tests

2019-01-03 Thread Martin Lau
On Thu, Jan 03, 2019 at 11:41:18PM +0100, Heiko Carstens wrote: > On Thu, Jan 03, 2019 at 07:12:05PM +, Martin Lau wrote: > > On Thu, Jan 03, 2019 at 12:46:13PM +0100, Heiko Carstens wrote: > > > Hello, > > > > > > the kernel commit 7337224fc150 ("bpf: Improve the info.func_info and > > >

Re: [PATCH 2/2] arm64: dts: qcom: sdm845: Add Q6V5 ADSP node

2019-01-03 Thread Bjorn Andersson
On Thu 20 Dec 05:39 PST 2018, Rohit kumar wrote: > This patch adds Q6V5 ADSP remoteproc node for SDM845 SoCs. > Thanks Rohit, nice to see these things on the list! > Signed-off-by: Rohit kumar > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 96 > +++- > 1 file

Re: [PATCH v2 1/2] dt-bindings: remoteproc: qcom: Add firmware bindings for Q6V5

2019-01-03 Thread Brian Norris
On Thu, Jan 03, 2019 at 03:30:14PM -0800, Brian Norris wrote: > On Fri, Dec 28, 2018 at 10:18:18AM +0530, Sibi Sankar wrote: > > +- firmware-name: > > + Usage: optional > > + Value type: > > + Definition: must list the relative firmware image path for the > > + Hexagon Core. >

Re: [PATCH v15 23/26] sched: early boot clock

2019-01-03 Thread Dominique Martinet
Pavel Tatashin wrote on Thu, Jan 03, 2019: > Could you please send the config file and qemu arguments that were > used to reproduce this problem. Running qemu by hand, nothing fancy e.g. this works: # qemu-system-x86_64 -m 1G -smp 4 -drive file=/root/kvm-wrapper/disks/f2.img,if=virtio -serial

Re: [PATCH v2 2/2] remoteproc: qcom: Add support for parsing fw dt bindings

2019-01-03 Thread Brian Norris
On Fri, Dec 28, 2018 at 10:18:19AM +0530, Sibi Sankar wrote: > Add support for parsing "firmware-name" dt bindings which specifies > the relative paths of mba/modem/pas image as strings. Fallback to > the default paths for mba/modem/pas image on -EINVAL. > > Signed-off-by: Sibi Sankar > --- >

Re: [PATCH 1/2] arm64: dts: qcom: sdm845: Add ADSP reserve-memory nodes

2019-01-03 Thread Bjorn Andersson
On Thu 20 Dec 05:39 PST 2018, Rohit kumar wrote: > Add memory nodes required for remoteproc q6v5_adsp pil. > This range doesn't match the documented memory map. I would prefer to see a "Specify all PIL regions as defined in V10" or similar. Regards, Bjorn > Signed-off-by: Rohit kumar > --- >

Re: [RFC v2 1/6] x86: introduce kernel restartable sequence

2019-01-03 Thread Andi Kleen
> Thanks for the explanations. I don’t think it would work (e.g., IRQs). I can > avoid generalizing and just detect the "magic sequence” of the code, but let > me give it some more thought. If you ask me I would just use compiler profile feedback or autofdo (if your compiler has a working

Re: [PATCH v2 2/3] clk: ti: check clock type before doing autoidle ops

2019-01-03 Thread Stephen Boyd
Quoting Andreas Kemnade (2018-12-31 00:30:21) > On Mon, 31 Dec 2018 09:23:01 +0200 > Tero Kristo wrote: > > > On 28/12/2018 22:02, Tony Lindgren wrote: > > > * Andreas Kemnade [181227 20:13]: > > >> Hi, > > >> > > >> On Tue, 4 Dec 2018 08:45:57 -0800 > > >> Tony Lindgren wrote: > > >> > >

Re: [PATCH v2 3/4] remoteproc: qcom: Wait for shutdown-ack/ind on sysmon shutdown

2019-01-03 Thread Bjorn Andersson
On Mon 24 Dec 00:48 PST 2018, Sibi Sankar wrote: > After sending a sysmon shutdown request to the SSCTL service on the > subsystem, wait for the service to send shutdown-ack interrupt or > an indication message to signal the completion of graceful shutdown. > > Signed-off-by: Sibi Sankar I

Re: [PATCH 2/2] leds: lp5024: Add the LP5024/18 RGB LED driver

2019-01-03 Thread Pavel Machek
Hi! > >Regarding led_scale_color_elements() - I checked it in GIMP and > >the results are not satisfactory when increasing brightness. > >Even if we managed to fix it, the result would not be guaranteed > >to be the same across all devices. > > No and they will never be the same. I was told by

Re: [PATCH 2/2] phy: qualcomm: usb: Add Super-Speed PHY driver

2019-01-03 Thread Stephen Boyd
Quoting Jorge Ramirez (2018-12-26 09:53:08) > On 12/20/18 21:29, Stephen Boyd wrote: > > Quoting Jorge Ramirez-Ortiz (2018-12-07 01:55:58) > > > >> + struct regulator *vdda1p8; > >> + struct regulator *vbus; > >> + struct regulator *vdd; > >> + unsigned int

Re: [PATCH v2 1/2] dt-bindings: remoteproc: qcom: Add firmware bindings for Q6V5

2019-01-03 Thread Brian Norris
Hi Sibi, On Fri, Dec 28, 2018 at 10:18:18AM +0530, Sibi Sankar wrote: > Add optional "firmware-name" bindings for Q6V5 MSS and PAS based > remoteprocs. For Q6V5 MSS/PAS the two/one relative firmware > paths/path are to be listed respectively. Fallback to the default > images for mba/modem for

Re: [PATCH 2/3] dmaengine: Extend the k3dma driver binding

2019-01-03 Thread Rob Herring
On Fri, Dec 28, 2018 at 02:36:22PM +0800, h00249924 wrote: > From: Youlin Wang > > Extend the k3dma driver binding to support hisi-asp hardware variants. > > Signed-off-by: Youlin Wang > Signed-off-by: Tanglei Han > Cc: Vinod Koul > Cc: Rob Herring > Cc: Mark Rutland > --- >

Re: [PATCH 2/2] leds: lp5024: Add the LP5024/18 RGB LED driver

2019-01-03 Thread Vesa Jääskeläinen
Hi Jacek, Comments below. On 04/01/2019 0.05, Jacek Anaszewski wrote: Hi Vesa, Thank you for sharing your ideas. Please find my comment below. On 1/1/19 2:45 PM, Vesa Jääskeläinen wrote: Hi All, On 20/12/2018 14.40, Vesa Jääskeläinen wrote: Idea was to define preset colors in device tree

Re: ALSA:usb audio Higher sample rates on usb audio no longer working.

2019-01-03 Thread Con Kolivas
Hi Iwai-san. Added some relevant CCs. On Fri, 4 Jan 2019 at 00:23, Takashi Iwai wrote: > > On Thu, 03 Jan 2019 12:43:54 +0100, > Con Kolivas wrote: > > > > Upon switching from 4.19.0 to 4.20.0, pulseaudio started complaining > > that sinks that previously worked are no longer supported. > > > >

Re: [PATCH 1/3] media: dt-bindings: media: Fix MTK document for vcodec

2019-01-03 Thread Rob Herring
On Fri, Dec 28, 2018 at 02:33:03PM +0800, Yunfei Dong wrote: > Fix MTK binding document for MT8173 dtsi changed in order > to use standard CCF interface. > MT8173 SoC from Mediatek. A better subject would be "add 'assigned-clocks' to vcodec examples". > > Signed-off-by: Yunfei Dong >

Re: [PATCH v2 2/2] remoteproc: qcom: Add support for parsing fw dt bindings

2019-01-03 Thread Bjorn Andersson
On Thu 27 Dec 20:48 PST 2018, Sibi Sankar wrote: > Add support for parsing "firmware-name" dt bindings which specifies > the relative paths of mba/modem/pas image as strings. Fallback to > the default paths for mba/modem/pas image on -EINVAL. > > Signed-off-by: Sibi Sankar Thanks Sibi, just

Re: [RFC RESEND PATCH 6/7] soc: mediatek: add MT8183 dvfsrc support

2019-01-03 Thread Stephen Boyd
Quoting Henry Chen (2019-01-02 06:09:57) > diff --git a/drivers/soc/mediatek/Kconfig b/drivers/soc/mediatek/Kconfig > index a7d0667..f956f03 100644 > --- a/drivers/soc/mediatek/Kconfig > +++ b/drivers/soc/mediatek/Kconfig > @@ -12,6 +12,21 @@ config MTK_INFRACFG > INFRACFG controller

Re: [PATCH 1/2] dt-bindings: iio: adc: meson-saradc: update temperature sensor support

2019-01-03 Thread Rob Herring
On Thu, 27 Dec 2018 22:50:19 +0100, Martin Blumenstingl wrote: > Meson8b and Meson8m2 use a 5-bit wide TSC (temperature sensor > coefficient). The SAR ADC registers however can only store (the lower) > 4 bits. The fifth (upper-most) bit is stored inside the > MESON_HHI_DPLL_TOP_0[9] register from

Re: [PATCH 2/2] devicetree: hwmon: Add bindings documentation for HIH6130

2019-01-03 Thread Rob Herring
On Thu, 27 Dec 2018 16:13:49 +0100, Andreas Kemnade wrote: > Add bindings documentation for HIH6130 driver. > > Signed-off-by: Andreas Kemnade > --- > Documentation/devicetree/bindings/hwmon/hih6130.txt | 12 > 1 file changed, 12 insertions(+) > create mode 100644

[PATCH] mm, page_alloc: Do not wake kswapd with zone lock held

2019-01-03 Thread Mel Gorman
syzbot reported the following regression in the latest merge window and it was confirmed by Qian Cai that a similar bug was visible from a different context. == WARNING: possible circular locking dependency detected 4.20.0+ #297 Not tainted

Re: [RFC RESEND PATCH 3/7] soc: mediatek: add support for the performance state

2019-01-03 Thread Stephen Boyd
Quoting Henry Chen (2019-01-02 06:09:54) > @@ -187,6 +190,18 @@ struct scp_soc_data { > bool bus_prot_reg_update; > }; > > +BLOCKING_NOTIFIER_HEAD(scpsys_notifier_list); static? > + > +int register_scpsys_notifier(struct notifier_block *nb) > +{ > + return

Re: possible deadlock in __wake_up_common_lock

2019-01-03 Thread Mel Gorman
On Thu, Jan 03, 2019 at 02:40:35PM -0500, Qian Cai wrote: > > Signed-off-by: Mel Gorman > > Tested-by: Qian Cai Thanks! -- Mel Gorman SUSE Labs

Re: [PATCH 1/2] dt-bindings: reset: Add document for Broadcom STB reset controller

2019-01-03 Thread Rob Herring
On Thu, Jan 3, 2019 at 1:31 PM Florian Fainelli wrote: > > On 1/3/19 11:19 AM, Rob Herring wrote: > > On Thu, Jan 03, 2019 at 10:53:25AM -0800, Florian Fainelli wrote: > >> On 1/3/19 9:41 AM, Rob Herring wrote: > >>> On Thu, Dec 20, 2018 at 05:34:08PM -0800, Florian Fainelli wrote: > Add a

Re: [RFC RESEND PATCH 0/7] Add driver for dvfsrc and add support for active state of scpsys on mt8183

2019-01-03 Thread Stephen Boyd
Quoting Henry Chen (2019-01-02 06:09:51) > The patchsets add support for MediaTek hardware module named DVFSRC > (dynamic voltage and frequency scaling resource collector). The DVFSRC is > a HW module which is used to collect all the requests from both software > and hardware and turn into the

Re: [RFC v2 1/6] x86: introduce kernel restartable sequence

2019-01-03 Thread Nadav Amit
> On Jan 3, 2019, at 2:48 PM, Andi Kleen wrote: > >> Ok… I’ll try to think about another solution. Just note that this is just >> used as a hint to avoid unnecessary lookups. (IOW, nothing will break if the >> prefix is used.) > > Are you sure actually? > > The empty prefix could mean 8bit

Re: [RFC v2 1/6] x86: introduce kernel restartable sequence

2019-01-03 Thread Andi Kleen
> Ok… I’ll try to think about another solution. Just note that this is just > used as a hint to avoid unnecessary lookups. (IOW, nothing will break if the > prefix is used.) Are you sure actually? The empty prefix could mean 8bit register accesses. > > You're doing the equivalent of patching a

Re: [PATCH 2/2] xtensa: generate uapi header and syscall table header files

2019-01-03 Thread Max Filippov
Hi Firoz, On Wed, Jan 2, 2019 at 7:29 AM Firoz Khan wrote: > Unified system call table generation script must be run to > generate unistd_32.h and syscall_table.h files. This patch > will have changes which will invokes the script. > > This patch will generate unistd_32.h and syscall_table.h >

Re: "bpf: Improve the info.func_info and info.func_info_rec_size behavior" breaks strace self tests

2019-01-03 Thread Heiko Carstens
On Thu, Jan 03, 2019 at 07:12:05PM +, Martin Lau wrote: > On Thu, Jan 03, 2019 at 12:46:13PM +0100, Heiko Carstens wrote: > > Hello, > > > > the kernel commit 7337224fc150 ("bpf: Improve the info.func_info and > > info.func_info_rec_size behavior") breaks one of strace's self tests: > > > >

Re: [RFC v2 1/6] x86: introduce kernel restartable sequence

2019-01-03 Thread Nadav Amit
> On Jan 3, 2019, at 2:21 PM, Andi Kleen wrote: > > Nadav Amit writes: > > I see another poor man's attempt to reinvent TSX. > >> It is sometimes beneficial to have a restartable sequence - very few >> instructions which if they are preempted jump to a predefined point. >> >> To provide such

Re: [PATCH v1 2/2] binderfs: reserve devices for initial mount

2019-01-03 Thread Todd Kjos
On Thu, Jan 3, 2019 at 2:08 PM Christian Brauner wrote: > > On Thu, Jan 03, 2019 at 01:47:13PM -0800, Todd Kjos wrote: > > On Thu, Jan 3, 2019 at 12:34 PM Christian Brauner > > wrote: > > > > > > On Thu, Jan 03, 2019 at 12:25:24PM -0800, Todd Kjos wrote: > > > > On Sun, Dec 23, 2018 at 6:36 AM

Re: [PATCH v3] mm/page_owner: fix for deferred struct page init

2019-01-03 Thread Qian Cai
On 1/3/19 3:22 PM, Michal Hocko wrote: > On Thu 03-01-19 14:53:47, Qian Cai wrote: >> On 1/3/19 2:07 PM, Michal Hocko wrote> So can we make the revert with an >> explanation that the patch was wrong? >>> If we want to make hacks to catch more objects to be tracked then it >>> would be great to

Re: [RFC v2 1/6] x86: introduce kernel restartable sequence

2019-01-03 Thread Andi Kleen
Nadav Amit writes: I see another poor man's attempt to reinvent TSX. > It is sometimes beneficial to have a restartable sequence - very few > instructions which if they are preempted jump to a predefined point. > > To provide such functionality on x86-64, we use an empty REX-prefix > (opcode

Re: general protection fault in put_pid

2019-01-03 Thread Shakeel Butt
Hi Manfred, On Sun, Dec 23, 2018 at 4:26 AM Manfred Spraul wrote: > > Hello Dmitry, > > On 12/23/18 10:57 AM, Dmitry Vyukov wrote: > > > > I can reproduce this infinite memory consumption with the C program: > >

Re: [RFC v2 0/6] x86: dynamic indirect branch promotion

2019-01-03 Thread Andi Kleen
Nadav Amit writes: > > - Do we use periodic learning or not? Josh suggested to reconfigure the > branches whenever a new target is found. However, I do not know at > this time how to do learning efficiently, without making learning much > more expensive. FWIW frequent patching will likely

Re: [PATCH 1/4] dt-bindings: usb: musb: Add support for MediaTek musb controller

2019-01-03 Thread Rob Herring
On Thu, Dec 27, 2018 at 03:34:23PM +0800, min@mediatek.com wrote: > From: Min Guo > > This adds support for MediaTek musb controller in > host, peripheral and otg mode > > Signed-off-by: Min Guo > --- > .../devicetree/bindings/usb/mediatek,musb.txt | 49 > ++ > 1

Re: [PATCH v8 22/25] powerpc: Remove CONFIG_GENERIC_NVRAM and adopt CONFIG_HAVE_ARCH_NVRAM_OPS

2019-01-03 Thread Finn Thain
On Thu, 3 Jan 2019, Christoph Hellwig wrote: > > # All PPC32s use generic nvram driver through ppc_md > > -config GENERIC_NVRAM > > +config HAVE_ARCH_NVRAM_OPS > > bool > > default y if PPC32 > > Symbols like this really should be defined in common code, and then > just selected by the

Re: [PATCH v1 2/2] binderfs: reserve devices for initial mount

2019-01-03 Thread Christian Brauner
On Thu, Jan 03, 2019 at 01:47:13PM -0800, Todd Kjos wrote: > On Thu, Jan 3, 2019 at 12:34 PM Christian Brauner > wrote: > > > > On Thu, Jan 03, 2019 at 12:25:24PM -0800, Todd Kjos wrote: > > > On Sun, Dec 23, 2018 at 6:36 AM Christian Brauner > > > wrote: > > > > > > > > The binderfs instance

Re: [PATCH v8 05/25] char/nvram: Adopt arch_nvram_ops

2019-01-03 Thread Finn Thain
On Thu, 3 Jan 2019, Christoph Hellwig wrote: > > + > > +const struct nvram_ops arch_nvram_ops = { > > + .read_byte = nvram_read_byte, > > + .write_byte = nvram_write_byte, > > + .get_size = nvram_get_size, > > +}; > > +EXPORT_SYMBOL(arch_nvram_ops); > > I think something

Re: [PATCH 2/2] leds: lp5024: Add the LP5024/18 RGB LED driver

2019-01-03 Thread Jacek Anaszewski
Hi Vesa, Thank you for sharing your ideas. Please find my comment below. On 1/1/19 2:45 PM, Vesa Jääskeläinen wrote: Hi All, On 20/12/2018 14.40, Vesa Jääskeläinen wrote: Idea was to define preset colors in device tree as an example when you are dealing with multi-color LEDs without PWM. In

Re: [PATCH 1/1] mmc: core: don't override the CD GPIO level when "cd-inverted" is set

2019-01-03 Thread Linus Walleij
On Tue, Jan 1, 2019 at 8:44 PM Martin Blumenstingl wrote: > Since commit 89a5e15bcba87d ("gpio/mmc/of: Respect polarity in the device > tree") gpiolib-of parses the "cd-gpios" property and flips the polarity > if "cd-inverted" is also set. This results in the "cd-inverted" property > being

[PATCH] Variable "val" in function rt274_i2c_probe() could be uninitialized

2019-01-03 Thread Yizhuo
Inside function rt274_i2c_probe(), if regmap_read() function returns -EINVAL, then local variable "val" leaves uninitialized but used in if statement. This is potentially unsafe. Signed-off-by: Yizhuo --- sound/soc/codecs/rt274.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff

[PATCH v2] Add USB_QUIRK_DELAY_CTRL_MSG quirk for Corsair K70 RGB

2019-01-03 Thread Jack Stocker
To match the Corsair Strafe RGB, the Corsair K70 RGB also requires USB_QUIRK_DELAY_CTRL_MSG to completely resolve boot connection issues discussed here: https://github.com/ckb-next/ckb-next/issues/42. Otherwise roughly 1 in 10 boots the keyboard will fail to be detected. Patch that applied delay

Re: kernel panic: stack is corrupted in udp4_lib_lookup2

2019-01-03 Thread Stefano Brivio
On Thu, 3 Jan 2019 15:15:06 -0600 Willem de Bruijn wrote: > syzbot generated stack traces with > > [ 183.517380] udpv6_err+0x46/0x60 > [ 183.520739] ? __udp6_lib_err+0x1890/0x1890 > [ 183.525054] gue6_err_proto_handler+0x199/0x280 Where? I can't find that in any logs linked from the

[PATCH v2 3/3] ARM: spinlock: use unified assembler language syntax

2019-01-03 Thread Stefan Agner
Convert the conditional infix to a postfix to make sure this inline assembly is unified syntax. Since gcc assumes non-unified syntax when emitting ARM instructions, make sure to define the syntax as unified. This allows to use LLVM's integrated assembler. Signed-off-by: Stefan Agner --- Changes

[PATCH v2 2/3] ARM: uaccess: use unified assembler language syntax

2019-01-03 Thread Stefan Agner
Convert the conditional infix to a postfix to make sure this inline assembly is unified syntax. Since gcc assumes non-unified syntax when emitting ARM instructions, make sure to define the syntax as unified. This allows to use LLVM's integrated assembler. Signed-off-by: Stefan Agner --- Changes

[PATCH v2 1/3] ARM: fix argument count to match macro definition

2019-01-03 Thread Stefan Agner
The macro str8w takes 10 arguments, abort being the 10th. In this particular instantiation the abort argument is passed as 11th argument leading to an error when using LLVM's integrated assembler: :46:47: error: too many positional arguments str8w r0, r3, r4, r5, r6, r7, r8, r9, ip, ,

[PATCH v2 0/3] ARM: trivial assembly fixes to enable LLVM as

2019-01-03 Thread Stefan Agner
This patchset is a starting point to enable LLVM integrated assembler and contains some trivial changes. With this patchset the LLVM integrated assembler can be used to assemble almost all C files. Changes since v1: - Explicitly use unified syntax for inline assembly where necessary Stefan Agner

Re: [PATCH v1 2/2] binderfs: reserve devices for initial mount

2019-01-03 Thread Todd Kjos
On Thu, Jan 3, 2019 at 12:34 PM Christian Brauner wrote: > > On Thu, Jan 03, 2019 at 12:25:24PM -0800, Todd Kjos wrote: > > On Sun, Dec 23, 2018 at 6:36 AM Christian Brauner > > wrote: > > > > > > The binderfs instance in the initial ipc namespace will always have a > > > reserve of 4 binder

Re: [PATCH V3] i2c: tegra: Fix Maximum transfer size

2019-01-03 Thread Wolfram Sang
On Thu, Jan 03, 2019 at 07:47:21PM +, Sowjanya Komatineni wrote: > > >> Tegra194 supports maximum 64K Bytes transfer per packet. > >> Tegra186 and prior supports maximum 4K Bytes transfer per packet. > >> > >> This patch fixes this payload difference between Tegra194 and prior > >> tegra

Re: [PATCH] scsi: associate bio write hint with WRITE CDB

2019-01-03 Thread Ewan D. Milne
On Thu, 2019-01-03 at 16:00 -0500, Douglas Gilbert wrote: > On 2019-01-03 4:47 a.m., Randall Huang wrote: > > On Wed, Jan 02, 2019 at 11:51:33PM -0800, Christoph Hellwig wrote: > > > On Wed, Dec 26, 2018 at 12:15:04PM +0800, Randall Huang wrote: > > > > In SPC-3, WRITE(10)/(16) support grouping

Re: [PATCH] arm64: dts: hikey: Give wifi some time after power-on

2019-01-03 Thread Ulf Hansson
On Wed, 2 Jan 2019 at 23:21, John Stultz wrote: > > Adding a few folks to cc from the thread here: > https://patchwork.kernel.org/patch/10734021/ > > As this sounds like a very similar issue. > thanks > -john John, thanks for looping me in. > > On Sun, Dec 30, 2018 at 3:38 AM Jan Kiszka wrote:

Re: [PATCH v15 23/26] sched: early boot clock

2019-01-03 Thread Pavel Tatashin
Could you please send the config file and qemu arguments that were used to reproduce this problem. Thank you, Pasha On Wed, Jan 2, 2019 at 3:20 PM Salvatore Bonaccorso wrote: > > Hi, > > On Tue, Nov 06, 2018 at 06:35:36AM -0500, Steven Sistare wrote: > > Pavel has a new email address, cc'd -

Re: [PATCH 4/4] tty: serial: qcom_geni_serial: Use u32 for register variables

2019-01-03 Thread Stephen Boyd
Quoting Ryan Case (2019-01-02 13:36:36) > Signed-off-by: Ryan Case > --- It'd be nice to have any sort of commit text here with the motivation for the change (code clarity is my motivation). Besides that nitpick Reviewed-by: Stephen Boyd

make[2]: *** No rule to make target 'arch/sh/boot/dts/.dtb.o', needed by 'arch/sh/boot/dts/built-in.a'.

2019-01-03 Thread kbuild test robot
Hi Masahiro, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 645ff1e8e704c4f33ab1fcd3c87f95cb9b6d7144 commit: 8e9b61b293d98f878cf1e6d1ae164e41c0219959 kbuild: move .SECONDARY special target to Kbuild.include date:

Re: [RFC,1/5] dt-bindings: Add a binding for Mediatek SCP

2019-01-03 Thread Rob Herring
On Wed, Dec 26, 2018 at 03:53:09PM +0800, Pi-Hsun Shih wrote: > From: Erin Lo > > Add a DT binding documentation of SCP for the > MT8183 SoC from Mediatek. > > Signed-off-by: Erin Lo > --- > .../devicetree/bindings/remoteproc/mtk,scp.txt | 10 ++ > 1 file changed, 10

Re: [PATCH RFC 3/5] dt-bindings: Add PDC timer bindings for Qualcomm SoCs

2019-01-03 Thread Stephen Boyd
Quoting Raju P L S S S N (2019-01-03 04:22:58) > > On 12/29/2018 3:08 AM, Stephen Boyd wrote: > > Quoting Raju P L S S S N (2018-12-26 01:44:43) > >> > >> There are two RSC devices in SoC one for application processor subsystem > >> & other display subsystem. Both RSC contain registers for PDC

Re: [PATCH] drm/amd/display: Fix boolean expression in get_surf_rq_param

2019-01-03 Thread Gustavo A. R. Silva
On 1/3/19 3:11 PM, Wentland, Harry wrote: On 2019-01-03 2:48 p.m., Gustavo A. R. Silva wrote: Fix boolean expression by using logical AND operator '&&' instead of bitwise operator '&'. This issue was detected with the help of Coccinelle. Fixes: 6d04ee9dc101 ("drm/amd/display: Restructuring

Re: kernel panic: stack is corrupted in udp4_lib_lookup2

2019-01-03 Thread Willem de Bruijn
On Thu, Jan 3, 2019 at 2:07 PM Stefano Brivio wrote: > > On Thu, 3 Jan 2019 12:01:29 -0800 > Eric Dumazet wrote: > > > On 01/03/2019 05:07 AM, syzbot wrote: > > > Hello, > > > > > > syzbot found the following crash on: > > > > > > HEAD commit:195303136f19 Merge tag 'kconfig-v4.21-2' of > >

Re: [PATCH v1 1/2] dt-binding: iio: add NPCM ADC documentation

2019-01-03 Thread Rob Herring
On Mon, Dec 24, 2018 at 06:47:54PM +0200, Tomer Maimon wrote: > Added device tree binding documentation for Nuvoton BMC > NPCM Analog-to-Digital Converter(ADC). > > Signed-off-by: Tomer Maimon > --- > .../bindings/iio/adc/nuvoton,npcm-adc.txt | 35 > ++ > 1 file

Re: [PATCH] drm/amd/display: Fix boolean expression in get_surf_rq_param

2019-01-03 Thread Wentland, Harry
On 2019-01-03 2:48 p.m., Gustavo A. R. Silva wrote: > Fix boolean expression by using logical AND operator '&&' > instead of bitwise operator '&'. > > This issue was detected with the help of Coccinelle. > > Fixes: 6d04ee9dc101 ("drm/amd/display: Restructuring and cleaning up DML") > Cc:

Re: [RFC PATCH 1/1] PM / Domains: Add multi PM domains support for attach_dev

2019-01-03 Thread Ulf Hansson
On Wed, 2 Jan 2019 at 17:29, Aisheng Dong wrote: > > > -Original Message- > > From: Ulf Hansson [mailto:ulf.hans...@linaro.org] > > Sent: Wednesday, January 2, 2019 6:49 PM > > > > On Sat, 29 Dec 2018 at 07:43, Aisheng Dong wrote: > > > > > > > From: Ulf Hansson

Re: [PATCH 2/2] arm/plat-pxa/ssp : unneeded to free devm_ allocated data

2019-01-03 Thread Robert Jarzmik
Peng Hao writes: > devm_ allocated data will be automatically freed. The free > of devm_ allocated data is invalid. > > Signed-off-by: Peng Hao Hi Peng Hao, Thanks for the patch. I changed your title to fit my tree, ie. : "ARM: pxa: ssp: unneeded to free devm_ allocated data" If you have

Re: Excessive swapping under Linux 4.14.91 (no issues in 4.14.90).

2019-01-03 Thread Vito Caputo
On Thu, Jan 03, 2019 at 09:33:09PM +0100, Hussam Al-Tayeb wrote: > > Sent: Thursday, January 03, 2019 at 10:12 PM > > From: "Vito Caputo" > > To: "Hussam Al-Tayeb" > > Subject: Re: Excessive swapping under Linux 4.14.91 (no issues in 4.14.90). > > > > > > The diff between 4.14.90 and 4.14.91 is

Re: [PATCH] scsi: associate bio write hint with WRITE CDB

2019-01-03 Thread Douglas Gilbert
On 2019-01-03 4:47 a.m., Randall Huang wrote: On Wed, Jan 02, 2019 at 11:51:33PM -0800, Christoph Hellwig wrote: On Wed, Dec 26, 2018 at 12:15:04PM +0800, Randall Huang wrote: In SPC-3, WRITE(10)/(16) support grouping function. Let's associate bio write hint with group number for enabling

Re: [PATCH 1/6] PCI: iproc: Update iProc PCI binding for INTx support

2019-01-03 Thread Ray Jui
On 9/25/2018 3:55 AM, Arnd Bergmann wrote: > On Tue, Sep 25, 2018 at 12:49 PM Lorenzo Pieralisi > wrote: >> >> On Mon, Sep 24, 2018 at 10:53:13PM +0200, Arnd Bergmann wrote: >>> On Tue, Sep 18, 2018 at 3:42 PM Lorenzo Pieralisi >>> wrote: On Mon, Jun 04, 2018 at 09:17:49AM -0500,

Re: [PATCH] netfilter: account ebt_table_info to kmemcg

2019-01-03 Thread Shakeel Butt
On Mon, Dec 31, 2018 at 2:12 AM Michal Hocko wrote: > > On Sun 30-12-18 19:59:53, Shakeel Butt wrote: > > On Sun, Dec 30, 2018 at 12:00 AM Michal Hocko wrote: > > > > > > On Sun 30-12-18 08:45:13, Michal Hocko wrote: > > > > On Sat 29-12-18 11:34:29, Shakeel Butt wrote: > > > > > On Sat, Dec 29,

Re: [GIT PULL] Please pull NFS client updates for 4.21

2019-01-03 Thread Linus Torvalds
On Wed, Jan 2, 2019 at 10:10 PM Trond Myklebust wrote: > > The values being compared are in cred_fscmp() are all of type kuid_t or > kgid_t so that means they have already been mapped from the user > namespace into the kernel uid/gid space. Ok, "everything happens in init_ns" is I guess a very

<    1   2   3   4   5   6   7   >